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
support strike-through, sub and superscript #7
Comments
@mojavelinux any recommendations on how to best represent strike-through and even sub/super-script which seem to be similar not working for me in asciidoc.js. |
It's important to understand that If I run the following through Asciidoctor (or Asciidoctor.js):
I get:
The default stylesheet has a rule for this:
You would need to do the same. It is possible to customize the HTML that is generated using custom templates (Asciidoctor.js supports Jade templates). In that case, you'd override the template for inline_quoted, check for the An enhancement to produce the |
We need documentation for doing this. Even I'm not exactly sure how to set it up (it's been on my list). But I know it's possible because it is used in AsciidocFx. |
Got it! I figured out why I could not get it to work. I had |
Yep, that would be a problem. If the formatting marks aren't directly adjacent to a word boundary, you'd need to double them up.
|
asciidoctor google store extension uses
<s>strike</s>
and asciidoctor docs says[line-through]#strike#
should work (but be deprecated) but neither does not seem to render in asciidoc.js nor asciidoctor output.The text was updated successfully, but these errors were encountered: