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:
@ -0,0 +1,6 @@
|
||||
export const escape = (str) => {
|
||||
// escape html content
|
||||
const d = document.createElement('div')
|
||||
d.appendChild(document.createTextNode(str))
|
||||
return d.innerHTML
|
||||
}
|
Reference in New Issue
Block a user