Twice-nested lists with line breaks between list items are not wrapped in <p> tags

Ricky de Laveaga's Avatar

Ricky de Laveaga

11 Jul, 2022 06:50 PM

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

Nested lists with line breaks between list items are not wrapped in

tags at the 3rd level of nesting.

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

  1. Create a doubly nested list with at least 3 levels.
  2. Open in Marked.
  3. Observe third level is not wrapped in

    tag in interface or on export to HTML

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

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

macOS Version: 12.4

allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
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: YES
includeKatex: NO
limitTextWidth: NO
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
permissionGranted: NO
printHeaderFirstPage: NO
printFooterFirstPage: NO
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: NO
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
useCustomPreprocessor: NO
useFirstH1AsPrintTitle: YES

  1. Support Staff 1 Posted by Brett on 11 Jul, 2022 07:14 PM

    Brett's Avatar

    This is going to come down to the built-in Markdown processors, and one may behave differently than the other, and I don't have much control over either. It either parses using MultiMarkdown 5, or (what you have selected) Discount GFM as determined by a particular library that is not 100% GitHub compatible. It's possible that you may get the results you're looking for by switching to MMD rendering, but I can't promise that will be the case.


  2. 2 Posted by Ricky de Laveag... on 20 Jul, 2022 10:06 PM

    Ricky de Laveaga's Avatar

    That figures, thanks 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

  • 35 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


? 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