exporting as markdown does not export code blocks

Alan Richardson's Avatar

Alan Richardson

02 Oct, 2018 10:10 AM

When exporting a file “save as markdown” the code blocks appear as

<!--MKCODEBLOCK-5-->

Instead of

My name  
My address  
My web

This is mostly an issue when trying to export the markdown of a multi-file document.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Create a file with code blocks
  2. Export as “Save Markdown”
  3. View export and see missing code blogs

// If applicable please attach a sample document that causes the issue for you.


Test File for exporting

Notes Prepared by:

my name

Did you see my name?

// Configuration (do not edit) Marked 2 958 (Direct)

macOS Version: 10.13.6

additionalMathJaxConfig:
allowPageBreakInCode: TRUE
bookTxtIsLeanpub: TRUE
summaryMdIsGitBook: TRUE
codeIsPoetry: TRUE
codeCanWrap: TRUE
collapsibleHeadlines: TRUE
convertGithubCheckboxes: TRUE
convertYAMLToMMD: TRUE
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
enableMiniMap: TRUE
excludeBlockQuotesFromCounts: TRUE
excludeFootnotesFromCounts: TRUE
excludeVerbatimFromCounts: TRUE
excludeCaptionsFromCounts: TRUE
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: TRUE
h1IsPageBreak: TRUE
h2IsPageBreak: TRUE
hrIsPageBreak: TRUE
includeMathJax: TRUE
limitTextWidth: TRUE
minimalJavaScript: TRUE
outlineModeExtensions:
permissionGranted: TRUE
printHeaderBottomLeft:
printHeaderBottomRight: %page/%total
printHeaderFirstPage: TRUE
printFooterFirstPage: TRUE
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: TRUE
removeMetadataForPreview: TRUE
removeYAMLHeaders: TRUE
scrollToEdit: TRUE
shouldDetectCritic: TRUE
shouldHighlightMarkupErrors: TRUE
shouldLoadCritic: TRUE
syntaxHighlight: TRUE
syntaxHighlightOnlyLang: NO

  1. Support Staff 1 Posted by Brett on 02 Oct, 2018 03:11 PM

    Brett's Avatar

    Thanks for catching this, I've fixed it for the next update.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac