-
-
Notifications
You must be signed in to change notification settings - Fork 788
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
Add syntax help to cli #1573
Comments
This would be a great addition! How do you plan to emphasis Asciidoctor syntax ? Maybe we should also add a link to the AsciiDoc Syntax Quick Reference. |
I think we'll just create something from scratch. I like the idea of the link to the online version. Ultimately, the quick reference and this should become the same and the existing quick reference should become the complete syntax reference (as we've talked about doing for a long time). |
Here's another article from which to draw some ideas. http://www.mimiz.fr/en/asciidoc-asciidoctor-first-step-and-first-thoughts/ |
Here's another proposal. https://duckduckgo.com/?q=asciidoc+cheat+sheet&ia=answer&iax=1 The goal here is to settle on draft of the cheatsheet so that we can begin to integrate it. |
I don't like how the cheat sheet on DuckDuck go only recommends the double marks (unconstrained) for inline formatting. It's important that we make the distinction from single marks (constrained). |
This seems to be something that needs to be addressed in core, rather than being ported over to .org. I wonder though: would some extra Tech Writer eyes on the content be a good idea. I wonder if breaking down the syntax groups in the command line help could be useful. For example:
|
Absolutely! Without a doubt. We desperately need a canonical cheat sheet document that can be understood at a glance. We have inklings of one all over the place, but have yet to put together something solid. The best way to approach this may be to start with the output of
Excellent idea. We could use section IDs for this.
That may be out of scope for this issue, but an excellent idea for the next phase. |
What I recommend is adding a file named data/reference/syntax.adoc, paste the output from |
I'll also implement something like |
When we revise this document, we should switch to using examples that we have in the Asciidoctor User Manual, where it would add clarity. For the basic stuff, it's probably fine how it is. |
This work by @anthonny could also be good raw material for this: https://github.com/anthonny/hubot-asciidoc/blob/master/src/asciidoc.coffee |
AsciiDoc Python shows a quick reference when you type
asciidoc --help syntax
. We should do something similar in Asciidoctor. I propose that we respond to both--help syntax
as well as just--syntax
.asciidoc --help syntax
The text was updated successfully, but these errors were encountered: