1
0
mirror of https://github.com/amix/vimrc synced 2025-07-21 03:44:59 +08:00

Add markdown preview, update rust.vim

This commit is contained in:
Kurtis Moxley
2022-05-19 20:12:11 +08:00
parent d26bc75459
commit d6ef288a88
156 changed files with 29900 additions and 0 deletions

View File

@ -0,0 +1,6 @@
export const escape = (str) => {
// escape html content
const d = document.createElement('div')
d.appendChild(document.createTextNode(str))
return d.innerHTML
}