Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Support "section" references like MMark #12

Closed
ronaldtse opened this issue Sep 28, 2017 · 2 comments
Closed

Support "section" references like MMark #12

ronaldtse opened this issue Sep 28, 2017 · 2 comments

Comments

@ronaldtse
Copy link
Contributor

In normal AsciiDoc a section reference will produce the title.

In RFCs, a section reference should produce something like "Section 5.4.3".

In MMark, references like:

See Section (#header)

Will produce See Section 5.4.3.

@opoudjis
Copy link
Contributor

opoudjis commented Oct 3, 2017

I will need help with this, @paolobrasolin , since my impression was that Asciidoc didn't quite do this with its xrefstyle, and I could be wrong.

@opoudjis
Copy link
Contributor

This is not relevant to the RFC XML output of the gem: the gem, just like MMark, produces the output <xref target="header"/>. It is xml2rfc that ends up inserting section numbers. (And it does.)

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

3 participants