Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

list-style-type somehow unsupported #135

Closed
dmckean opened this issue Oct 13, 2015 · 1 comment
Closed

list-style-type somehow unsupported #135

dmckean opened this issue Oct 13, 2015 · 1 comment

Comments

@dmckean
Copy link

dmckean commented Oct 13, 2015

I've been using the fancy_lists extension in pandoc to generate A., B., C.-style orders lists in HTML from Markdown. The pandoc generator correctly writes the list-style-type: upper-alpha in the ol HTML tag, but the preview window fails to render the li elements with upper-roman markers.

ex.

file.md


---
title: "My List of Ordered Things"
output:
  html_document:
    md_extensions: +fancy_lists

---
A.  First
B.  Second
C.  Third

Renders in markdown-preview-plus as

  1. First
  2. Second
  3. Third

file.html

     . . .
    <body class='markdown-preview'>
      <ol style="list-style-type: upper-alpha">
        <li>First</li>
        <li>Second</li>
        <li>Third</li>
      </ol>
    </body>
@leipert
Copy link
Contributor

leipert commented Oct 13, 2015

Thanks for your Report, @dmckean. It is fixed and pushed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants