- Download the files (Code -> Download ZIP)
- Open your Obsidian.md vault in explorer
- Copy and paste the .obsidian folder in it
- Go to: Obsidian app -> Settings -> Appearance -> CSS Snippets
CodeBlock.css
VuepressFix.css
Test Code
Hello World
- 1
- 2
- 3
- 2
Hellow World
<template>
<div class="app-container home">
<button @click="testRequest">testRequest</button>
</div>
</template>
<script setup name="Index" lang="ts">
import request from "@/utils/request";
const testRequest = () => {
request({
url: "/",
method: "get",
}).then((result: any) => {
console.log(result);
});
};
</script>
const sessionCache = {
get(key: string) {
if (!sessionStorage) {
return null
}
if (key == null) {
return null
}
return sessionStorage.getItem(key)
},
getJSON(key: string) {
const value = this.get(key)
if (value != null) {
return JSON.parse(value)
}
},
remove(key: string) {
sessionStorage.removeItem(key)
},
}
public class main {
public static void main(String[] args){
String s = new String("Hello World");
System.out.println(s);
}
}