John MacFarlane

Results 2375 comments of John MacFarlane

In light of the above, one important question is: is it important to provide character offsets, or do line offsets and character offsets within a line (i.e. column) suffice? If...

Another option might be allowing the generation of the source positions to be "lazy." That is, asking for the source pos corresponding to byte position will go through the first...

I did an experiment with a long document, and there are a few places where we jump around and ask for a source position for an earlier byte position after...

One place I used the line information is in the live playground. I get the line visible at the top of the left hand pane, and then find an element...

Questions: 1. Should anything about sourcepos go into the "spec" for the AST? 2. If so, what? byte offset? code point offset? also line offset? also code point offset within...

This probably doesn't affect what you want to say, but that isn't djot definition list syntax!

Seems like there's a lot of interest in this. Is anyone interested in making a PR so we could consider it more concretely?

Even simpler: if there are two consecutive captions, the first one is used as the short caption. (Or even: the shorter one is used!) Then we don't need `^^` and...

@kbroch-rivosinc Please see the comments above. The suggested output you give isn't correct. Given this input, asciidoctor yields the following HTML: ``` *There should be asterisks on either side of...

Well yes, asciidoc(tor) will turn ``` *hello* ``` into strong emphasis. But we're concerned here with how to represent literal asterisk characters. And asciidoctor turns ``` \*hello\* ``` into ```...