Swiss style displays numbered lists without hanging indent

Abhay Ghatpande's Avatar

Abhay Ghatpande

17 Apr, 2018 12:40 PM

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

In the Swiss preview style, numbered lists are displayed incorrectly. For sentences longer than one line, there is no hanging indent.

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

  1. Create a numbered list with sentences longer than one line. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  2. Ensure that the preview style is "Swiss".
  3. Verify that numbered list is displayed incorrectly without indent. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

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

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

OS X Version: 10.13.4

additionalMathJaxConfig:
allowPageBreakInCode: 1
bookTxtIsLeanpub: 1
summaryMdIsGitBook: 1
codeIsPoetry: 0
collapsibleHeadlines: 0
convertGithubCheckboxes: 1
convertYAMLToMMD: 0
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
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: 1
limitTextWidth: 0
minimalJavaScript: 1
outlineModeExtensions:
permissionGranted: 0
printHeaderBottomLeft: CONFIDENTIAL
printHeaderBottomRight: %page/%total
printHeaderFooterFirstPage: 1
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 17 Apr, 2018 03:20 PM

    Brett's Avatar

    This isn't technically "displayed incorrectly," it's a different
    typographic choice. I'll agree, though, that it looks wrong and the
    indentation of the list makes it seem like the list-item-position was
    supposed to be "outside" and somehow got changed. I've updated the
    stylesheet for the next release, and in the meantime you can add the
    following under Preferences->Style "Additional CSS":

          #wrapper ol { list-style-position: outside; }

    -Brett

  2. 2 Posted by Abhay Ghatpande on 17 Apr, 2018 03:27 PM

    Abhay Ghatpande's Avatar

    Thank you for the prompt response and helping out. :)

    I love Marked2!

  3. 3 Posted by henry.raco24 on 05 May, 2018 05:22 AM

    henry.raco24's Avatar

    In the Swiss preview style, numbered lists are displayed incorrectly. For sentences longer than one line, there is no hanging indent. // Please enter a list of steps required to reproduce the issue

    get best assignment help

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • NumberingIssue.md 627 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