GitHub style doesn't show blank lines when blank lines between bullet items
// Please enter a detailed description of the issue // Description of the issue:
GitHub style:
When you create a list of bullet items, one line per bullet, Marked correctly renders this as a bulleted list without a paragraph sized blank line between items.
When you create a list of bullet items with a blank line between each bulleted line (like paragraphs), Marked no longer renders each bullet as a paragraph (with extra space between each one), even though Github itself does.
// Please enter a list of steps required to reproduce the issue // Steps to reproduce:
Using:
- GitHub style - Discount (GFM) markdown processor
- Use the GitHub style
- Use the Discount (GFM) markdown processor
- Create a document with bulleted lists
- Put a blank line between them.
- Note in the Marked render there is NOT a blank line between bulleted items. (There used to be.)
See Github render (and what Marked used to look like):
https://gist.github.com/zentrope/e45dcdedbfb73b6d1fa663dee82290ab
The above doc is also attached.
// If applicable please attach a sample document that causes the issue for you.
// Configuration (do not edit) Marked 2 947 (Direct)
macOS Version: 10.13.5
additionalMathJaxConfig:
allowPageBreakInCode: TRUE
bookTxtIsLeanpub: TRUE
summaryMdIsGitBook: TRUE
codeIsPoetry: TRUE
codeCanWrap: TRUE
collapsibleHeadlines: TRUE
convertGithubCheckboxes: TRUE
convertYAMLToMMD: TRUE
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
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:
printHeaderFirstPage: TRUE
printFooterFirstPage: TRUE
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: TRUE
removeMetadataForPreview: TRUE
removeYAMLHeaders: TRUE
scrollToEdit: TRUE
shouldDetectCritic: TRUE
shouldHighlightMarkupErrors: TRUE
shouldLoadCritic: TRUE
syntaxHighlight: TRUE
- git-bullets.md 1.28 KB
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 17 May, 2018 08:17 PM
The paragraph renders, it just doesn't display a margin. Various
formatting was causing some confusion among users, so the best solution
was to remove additional margins when paragraph tags were generated
unexpectedly. If you'd like to restore the default styling, add this to
Preferences->Style->Additional CSS:
#wrapper li > p { margin-bottom: 16px; }
Let me know if that helps.
-Brett
2 Posted by Keith on 18 May, 2018 02:08 AM
That works. Thanks!