convert ALL notes HTML to markdown
This commit is contained in:
1 parent
df05d4e875
commit
363a728fc3
32 files changed
+1756
-1203
No files matched your search
@@ -61,9 +61,11 @@
|
||||
</summary>
|
||||
<SentenceAudio v-if="example" :v="example" lang="en" />
|
||||
|
||||
<blockquote v-if="notes.length" :class="$style.notes">
|
||||
<div v-for="(n, i) in notes" :key="i" v-html="n"></div>
|
||||
</blockquote>
|
||||
<blockquote
|
||||
v-if="notes.length"
|
||||
:class="$style.notes"
|
||||
v-html="markdownIt.render(notes.join('\n\n'))"
|
||||
></blockquote>
|
||||
|
||||
<div>
|
||||
<button
|
||||
@@ -462,7 +464,7 @@ async function onVContentSave() {
|
||||
}
|
||||
|
||||
const markdownIt = new MarkdownIt({
|
||||
html: false,
|
||||
html: true,
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
|
||||
Reference in new issue
Block a user