Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow toml for references #55

Closed
miekg opened this issue Feb 1, 2019 · 2 comments
Closed

allow toml for references #55

miekg opened this issue Feb 1, 2019 · 2 comments
Labels
parser Markdown text is being parsed incorrectly

Comments

@miekg
Copy link
Contributor

miekg commented Feb 1, 2019

I might be nice to allow toml syntax for reference, so that we unify the preamble (which is in toml) with the references. Downside is that all references come in XML format, so you need to reformat that. We already support the XML from the references natively; so not sure how much functionally this adds.

@miekg miekg added the parser Markdown text is being parsed incorrectly label Feb 11, 2019
@miekg
Copy link
Contributor Author

miekg commented Feb 11, 2019

should be relatively easy as we already have all the data structures in place. The only hard part is detecting the toml during parse time - as it just looks like text.

I.e. we have

<reference anchor='lottor' target='namedroppers@internic.net'>
 <front>
 <title>Domain Name Survey</title>
  <author initials='M.' surname='Lottor' fullname='M. Lottor'></author>
  <date year='1997' month='January'/>
 </front>
 </reference>

what would be a good TOML alternative that we can pick up? author can/should be taken from the toml title block.

May something ala:

[reference]
anchor = "bla"
target = "foo"
...

@miekg
Copy link
Contributor Author

miekg commented Feb 18, 2021

seems better easier to not do this and just use the reference and referencegroup.

@miekg miekg closed this as completed Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Markdown text is being parsed incorrectly
Projects
None yet
Development

No branches or pull requests

1 participant