Closed opoudjis closed 6 years ago
Added first of many files to rspec; comparing only txt output for now.
There are spacing inconsistencies in the markdown files, but they are minor.
I introduced open block formatting to deal with the complex nested lists in RFC7511.
Major inconsistency with MMark output is that BCP14 output in MMark is just capitalised, whereas in current gem it is capitalised + strong: SHOULD
vs *SHOULD*
. Should I drop the boldfacing?
I think we should do both boldface and capitalize :wink:
No problem. The MMark output in rspec is going to complain unnecessarily, since the MMark XML output does not do this, but better to make the discrepancy obvious.
... on second thought, I'm going to change the *BCP14*
to BCP14
within the spec, for the purposes of comparison of the MMark outputs.
Got it!
I am working on mitigating the spacing issues.
Mitigated as much as I can.
Thank you @opoudjis . We just need to keep in mind that "mmark" is not technically the "authoritative" approach, but sticking to what it does is a good idea.
And indeed, there's a couple of areas where I've improved on MMark—notably in forcing use of the relref convention for addressing part of a reference. (It's v3, but I use it as a template for v2 as well.)
@opoudjis could you help document those improvements so we all know what they are! 👍