✨ (fleeting notes) init fleeting notes
This commit is contained in:
@@ -13,6 +13,7 @@ const md = new MarkdownIt().use(markdownItClass, {
|
||||
|
||||
export const useMarkdown = () => {
|
||||
return {
|
||||
renderString: (content: string) => md.render(content),
|
||||
render: (content: string) =>
|
||||
md.render(decodeURIComponent(escape(atob(content))))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user