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
Write documentation that explains how to customize the converter output using templates #3948
Comments
Until the back-end documentation gets written I think this advice by @mojavelinux should be highlighted here:
Works with haml and slim templates. |
is also verify useful to understand what is available to the back-end writer edit: added other interesting things to look at to understand what you have access to |
You might find
|
Questions to answer:
|
Additional raw material: http://discuss.asciidoctor.org/Add-new-attribute-to-the-html-p-tag-td3976.html |
When this ticket is resolved, be sure to close off asciidoctor/asciidoctor.org#452 so user-guide.adoc contributors know they no longer need to discuss the section. |
just tossing a +1 on this |
Here's some excellent material about why and how to use Pry to debug templates, contributed by @obilodeau. Definitely a key addition to this guide. http://discuss.asciidoctor.org/Interactively-debugging-a-template-with-a-REPL-td4498.html#a4502 |
+100 on this topic, I think it extremely valuable. I would love to contribute here, however, my other projects do not allow me the time currently. :( If my status changes perhaps Ill spend a hackweek on it 👍 |
This looks like something I could sink my teeth into, allowing for available time. |
It seems quite a while that this issue is open. Would be really helpful to see templates being described in the documentation. At the moment, it's hard to find all the necessary bits and pieces and put them together. It's annoying and time consuming. Please also consider, not everybody is familiar with Ruby. 😉 Some expressions and notations should be explained. Thanks! |
I'm quite aware this documentation is sorely needed. If there were more hours in the day, I could get to it. But I'm already giving everything I've got (and then way more). (And the same is probably true for majority of the other maintainers in Asciidoctor). While the documentation will certainly cover some basic concepts of Ruby, the templates are a programming construct and it's not the appropriate place to teach those concepts. We will be sensitive with the use of terms, but will likely link out to tutorials that you can read. |
At long last, a draft is ready! See #4180. |
I still have a bit of work to do to before merging to integrate the information from the linked resources. |
The documentation is now ready for review. I'll leave the PR up for a day or two to see if I get any feedback. |
Backport this change to v2.0.x. |
Code review and revisions provided by Tom Schraitle
Code review and revisions provided by Tom Schraitle
I'm pleased to announce that the documentation for converter templates is now available! https://docs.asciidoctor.org/asciidoctor/latest/convert/templates/ Thanks to @tomschr for reviewing the content and proposing revisions. |
Write documentation that explains how to create a custom backend. Information to be covered includes:
Some starting material can be found here:
asciidoctor/asciidoctor-backends#12 (comment)
The text was updated successfully, but these errors were encountered: