Output markdown
This commit is contained in:
1 parent
2887197c4d
commit
df9c01201f
2 files changed
+182
-10
No files matched your search
@@ -9,14 +9,10 @@ block content
|
||||
//- TODO: export to markdown...
|
||||
.row
|
||||
.col.s12
|
||||
a.btn.black(href=`/translate/${translationChapter.translationArtifactVersion.id}/chapter/${translationChapter.id}/markdown`) export markdown
|
||||
a.btn.black(href=`/translate/${translationChapter.translationArtifactVersion.id}/chapter/${translationChapter.id}/markdown`, target="_blank") export markdown
|
||||
|
||||
.row
|
||||
.col.s12
|
||||
each translationChunk in translationChapter.translationChunks.sort((a,b) => a.index - b.index)
|
||||
p.flow-text
|
||||
if translationChunk.translation
|
||||
span= translationChunk.translation.text
|
||||
else
|
||||
span.grey-text= translationChunk.text
|
||||
.row
|
||||
.col.s12
|
||||
|
||||
div !{translatedChapterOutput}
|
||||
|
||||
Reference in new issue
Block a user