Skip to content

Latest commit

 

History

History
85 lines (79 loc) · 5.02 KB

todo.md

File metadata and controls

85 lines (79 loc) · 5.02 KB

todo

questions

  • listing/literal block indent method: is multiline supported? asciidoc does support, but it's not documented...
  • do we track source locations for attr_lists?
  • how can i see how asciidoctor emits asg?
  • special char substitution... when? what do asg source locations look like for these?
  • for a pass:[] macro, what does the asg want? do i just parse according to the indicated subs and discard the macro (wrt ast), or do i need to track the macro invocation holding a vec of inlines parsed according to subs?
  • pass:[] macro docs contain a list of allowed substitution values, and then the example right below it shows using a value q not on the list!
  • docs seems to say that a block title needs to be above the attr list, but dr. seems to parse it the same in either order
  • https://docs.asciidoctor.org/asciidoc/latest/lists/ordered/#escaping-the-list-marker - shows how to escape P. O. Box, but I can't find any documentation on why P. should be considered a list marker - arbitrary letters don't show up anywhere in the ordered list documentation, and the current implementation doesn't get tripped up by P. O. Box, so I skipped this for now, until i can get some clarity from the asciidoctor team
  • inside listing blocks, newlines are preserved, but DR. seems to trim leading/trailing newlines, and only honor those between, test "----\n\n\nfoo\n\nbar\n\n\n----", is this "spec", or just an accident/bug? (dork does not work this way currently)
  • thematic break doesn't seem to support an attr list for adding classes to it? oddly, there's a test in asciidoctor showing its supported, but i can't seem to get it to work with the latest ruby cli

weirdnesses...

  • footnote:[] macro takes an attr list, but it seems like it only supports a single positional attribute
  • "To insert an empty line somewhere in a paragraph, you can use the hard line break syntax (i.e., {empty}{plus}) on a line by itself. This allows you to insert space between lines in the output without introducing separate paragraphs." from /hard-line-breaks in docs, but i can't seem to replicate this behavior in asciidoctor...