-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
"flag" attributes #257
Comments
I'm open to reconsidering this. My thinking originally was that if we allow flag attributes there is greater chance of capturing something that was meant as regular text, e.g. Semantically, how should flag attributes be represented? In HTML, |
I could only find the equivalence of empty attributes with attributes with value
Using the already existing equivalence of a flag/empty attributes with an attribute of value |
A possible value for the representation of flag attributes in the AST would be In Pandoc Markdown I always use backslashes or verbatim for non-attribute braces but TBH I also always disable shortcut reference links so that I don’t have to remember to escape brackets around phonetic transcriptions! I do occasionally use braces around shorthand transliterations1 but I use verbatim with a class for those. I would believe that braces are even more unusal in text than brackets but there probably is some discipline which uses braces a lot! However I don’t think djot should disallow flag attributes because of that. Footnotes
|
Hello !
The djot syntax reference does not allow flag attributes (attributes without a value, or empty attributes, as they are called in html).
I think those flag attributes are useful! Is there a reason for not supporting them?
(I would have the same question for pandoc's markdown, but since pandoc has so many more features, I though asking in this syntax-specific repo was better).
Anyway, thanks a lot for all your work on markup languages!
The text was updated successfully, but these errors were encountered: