Footnotes within tables are broken

Joey Hoer's Avatar

Joey Hoer

23 Feb, 2018 04:57 PM

// Please enter a detailed description of the issue // Description of the issue: If the first footnote within a document appears within a table, footnotes will not render. Each footnote which appears within a different cell in a table resets the count to 1.

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

  1. Use the following markdown to test:
A B
Test 1[^1] Test 2[^2] Test 3[^3] Test 4[^4]

[^1]: Test 1 [^2]: Test 2 [^3]: Test 3 [^4]: Test 4

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

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

OS X Version: 10.13.2

additionalMathJaxConfig:
allowPageBreakInCode: 1
bookTxtIsLeanpub: 0
summaryMdIsGitBook: 0
codeIsPoetry: 0
collapsibleHeadlines: 0
convertGithubCheckboxes: 1
convertYAMLToMMD: 0
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
enableMiniMap: 0
excludeBlockQuotesFromCounts: 0
excludeFootnotesFromCounts: 0
excludeVerbatimFromCounts: 0
excludeCaptionsFromCounts: 0
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: 1
h1IsPageBreak: 0
h2IsPageBreak: 0
hrIsPageBreak: 0
includeMathJax: 0
limitTextWidth: 0
minimalJavaScript: 0
outlineModeExtensions:
permissionGranted: 0
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFooterFirstPage: 0
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: 1
removeMetadataForPreview: 0
removeYAMLHeaders: 0
scrollToEdit: 1
shouldDetectCritic: 1
shouldHighlightMarkupErrors: 0
shouldLoadCritic: 0
syntaxHighlight: 1

  1. Support Staff 1 Posted by Brett on 23 Feb, 2018 05:35 PM

    Brett's Avatar

    You're using the Discount processor, so it's not actually rendering
    those as footnotes at all. Try switching to MultiMarkdown under
    Preferences->Processor and let me know if that helps.

    -Brett

  2. 2 Posted by Joey Hoer on 23 Feb, 2018 05:42 PM

    Joey Hoer's Avatar

    Brett,

    That fixed it, thanks!

    Though, I'll note that footnotes are rendering while using in Discount, but they do not render when referenced from within tables.

    Joey Hoer
    [email blocked]
    757.871.1292

  3. Support Staff 3 Posted by Brett on 23 Feb, 2018 06:05 PM

    Brett's Avatar

    Yeah, that is weird, but it's going to be an issue in the processor
    itself rather than anything Marked is doing. I'll check on it further
    when I get a chance.

    -Brett

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • footnotes-in-table.md 123 Bytes

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