You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whether in the right-pane preview or exporting to either PDF or HTML, Twig can't tell that indenting some list items relative to others has significance.
Here's a selection of Markdown content that will demonstrate the problem:
First, we'll build out the basic, as-generated Hanami app in a Docker image. Initially starting from a Debian base, we'll build an image that
1. installs the Debian packages we've been using for our Ruby-development images, including the requirements (Qt5's `qmake`, `xvfb`, etc) for an image hosting `capybara-webkit` and/or `selenium`;
2. installs the current versions of Gems for
1. Hanami 1.2; and
2. Our evolving-standard suite of development tools, including
1.`awesome_print`,
2.`flay`,
3.`flog`,
4.`reek`,
5.`rubocop`,
6.`pry-byebug`,
7.`simplecov`,
8. various MiniTest add-ons.
(GitHub's Markdown renderer sees that's a numbered list with three levels of indentation.
It seems that GitHub uses a minimum of 3 (or 2?) spaces for nested indentation, whereas Twig (and cmark) use 4 spaces or a tab. In the screenshot below, using 4 spaces (or a tab) works fine. I don't intend to deviate from the cmark spec too much, so I'll close this as wontfix.
Understood and agreed. I've known that GitHub uses (and every other tool I've tried allows) 2 spaces for quite some time; it never dawned on me that the spec actually required 4. That's just inexcusable laziness on my part, as the spec going back four whole years to present does in fact specify 4 spaces as equivalent to a tab stop.
Thank you. TIL, and I've been living in Markdown daily for years now.
Whether in the right-pane preview or exporting to either PDF or HTML, Twig can't tell that indenting some list items relative to others has significance.
Here's a selection of Markdown content that will demonstrate the problem:
(GitHub's Markdown renderer sees that's a numbered list with three levels of indentation.
How Twig renders that content can be seen here:
Obviously not what the markup specifies.
(Possibly related to #18.)
The text was updated successfully, but these errors were encountered: