Incorrect superscripted or subscripted item at beginning of line using MMD syntax

Glen's Avatar

Glen

08 Feb, 2019 04:27 PM

// Please enter a detailed description of the issue // Description of the issue:

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

  1. Example: ^1^Department of Biology
  2. Marked preview: only the word ‘Department’ is superscripted and you see the ‘^1’
  3. Interestingly Marked previews superscripted or subscripted items (using MMD syntax) correctly if the item is in the middle of a line.
  4. The and tags work fine in Marked.

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

// Configuration (do not edit) Marked 2 969 (Mac App Store)

macOS Version: 10.14.3

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

  1. 1 Posted by Glen on 08 Feb, 2019 04:30 PM

    Glen's Avatar

    Hah! Should be <sup> and <sub> tags, in line 4.

  2. Support Staff 2 Posted by Brett on 08 Feb, 2019 05:58 PM

    Brett's Avatar

    Marked is still using MMD 5, I've been waiting a bit to update it to 6. I believe the handling of superscript has changed between the two versions.

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