Twice-nested lists with line breaks between list items are not wrapped in <p> tags
// 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:
- Create a doubly nested list with at least 3 levels.
- Open in Marked.
- 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
additionalMathJaxConfig:
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
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: NO
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
customMarkdownProcessor:
useCustomPreprocessor: NO
customPreprocessor:
useFirstH1AsPrintTitle: YES
- nested-list-wrapping.md 35 Bytes
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
Support Staff 1 Posted by Brett on 11 Jul, 2022 07:14 PM
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.
-Brett
2 Posted by ricky on 20 Jul, 2022 10:06 PM
That figures, thanks Brett.
UPDATE 2024-06-19: MMD rendering exhibits same isssue.