$ docker -it --run node:8-alpine4 |
code;
--------------------------------------------------------------------------------
/test/scenarios/literal/intrinsic_attributes.html:
--------------------------------------------------------------------------------
1 | {cpp}
--------------------------------------------------------------------------------
/test/scenarios/literal/intrinsic_attributes.adoc:
--------------------------------------------------------------------------------
1 | +{cpp}+
--------------------------------------------------------------------------------
/test/scenarios/passthrough/verbatim.html:
--------------------------------------------------------------------------------
1 | <{backend}>
--------------------------------------------------------------------------------
/test/scenarios/emphasis/constrained.adoc:
--------------------------------------------------------------------------------
1 | This is _so_ _easy_.
--------------------------------------------------------------------------------
/test/scenarios/keyboard/plus.adoc:
--------------------------------------------------------------------------------
1 | Increase zoom: kbd:[Ctrl + +]
--------------------------------------------------------------------------------
/test/scenarios/keyboard/single.adoc:
--------------------------------------------------------------------------------
1 | Toggle fullscreen: kbd:[F11]
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/apostrophe.adoc:
--------------------------------------------------------------------------------
1 | That's all folks!
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/double.adoc:
--------------------------------------------------------------------------------
1 | "`double curved quotes`"
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/double.html:
--------------------------------------------------------------------------------
1 | “double curved quotes”
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/single.adoc:
--------------------------------------------------------------------------------
1 | '`single curved quotes`'
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/single.html:
--------------------------------------------------------------------------------
1 | ‘single curved quotes’
--------------------------------------------------------------------------------
/test/scenarios/code/nested.adoc:
--------------------------------------------------------------------------------
1 | This code is *really `important`*.
--------------------------------------------------------------------------------
/test/scenarios/keyboard/combo-duo.adoc:
--------------------------------------------------------------------------------
1 | Open a new tab: kbd:[Ctrl+T]
--------------------------------------------------------------------------------
/test/scenarios/keyboard/single.html:
--------------------------------------------------------------------------------
1 | Toggle fullscreen: F11
--------------------------------------------------------------------------------
/test/scenarios/passthrough/escaped.adoc:
--------------------------------------------------------------------------------
1 | use the `\pass:c[]` macro
--------------------------------------------------------------------------------
/test/scenarios/passthrough/verbatim.adoc:
--------------------------------------------------------------------------------
1 | pass:verbatim[<{backend}>]
--------------------------------------------------------------------------------
/test/scenarios/smart_quotes/apostrophe.html:
--------------------------------------------------------------------------------
1 | That’s all folks!
--------------------------------------------------------------------------------
/test/scenarios/email/link.adoc:
--------------------------------------------------------------------------------
1 | mailto:doc.writer@asciidoc.org[Doc Writer]
--------------------------------------------------------------------------------
/test/scenarios/keyboard/backslash.adoc:
--------------------------------------------------------------------------------
1 | Used to escape characters: kbd:[\ ]
--------------------------------------------------------------------------------
/test/scenarios/menu/submenu.adoc:
--------------------------------------------------------------------------------
1 | To save the file, select menu:File[Save].
--------------------------------------------------------------------------------
/test/scenarios/button/ok.adoc:
--------------------------------------------------------------------------------
1 | Press the btn:[OK] button when you are finished.
--------------------------------------------------------------------------------
/test/scenarios/code/intrinsic_attributes.html:
--------------------------------------------------------------------------------
1 | C++
2 |
--------------------------------------------------------------------------------
/test/scenarios/emphasis/constrained.html:
--------------------------------------------------------------------------------
1 | This is so easy.
--------------------------------------------------------------------------------
/test/scenarios/keyboard/backslash.html:
--------------------------------------------------------------------------------
1 | Used to escape characters: \
--------------------------------------------------------------------------------
/test/scenarios/literal/command-prompt.adoc:
--------------------------------------------------------------------------------
1 | $ docker -it --run node:8-alpine
--------------------------------------------------------------------------------
/test/scenarios/menu/target.adoc:
--------------------------------------------------------------------------------
1 | Editing tools can be found in the menu:Edit[].
--------------------------------------------------------------------------------
/test/scenarios/passthrough/escaped.html:
--------------------------------------------------------------------------------
1 | use the pass:c[] macro
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_macro.html:
--------------------------------------------------------------------------------
1 | <code>['code'\]</code>
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_triple_plus.html:
--------------------------------------------------------------------------------
1 | inline code
--------------------------------------------------------------------------------
/test/scenarios/email/escaped.adoc:
--------------------------------------------------------------------------------
1 | Please don't email me at \doc.writer@asciidoc.org!
--------------------------------------------------------------------------------
/test/scenarios/email/escaped.html:
--------------------------------------------------------------------------------
1 | Please don't email me at doc.writer@asciidoc.org!
--------------------------------------------------------------------------------
/test/scenarios/keyboard/combo-trio.adoc:
--------------------------------------------------------------------------------
1 | New incognito window: kbd:[Ctrl+Shift+N]
--------------------------------------------------------------------------------
/test/scenarios/keyboard/escaped-closed-bracket.adoc:
--------------------------------------------------------------------------------
1 | Jump to keyword: kbd:[Ctrl+\]]
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_triple_plus.adoc:
--------------------------------------------------------------------------------
1 | +++inline code+++
--------------------------------------------------------------------------------
/test/scenarios/strong/nested-emphasis.adoc:
--------------------------------------------------------------------------------
1 | *_This sentence has reached max volume._*
--------------------------------------------------------------------------------
/test/scenarios/button/open.adoc:
--------------------------------------------------------------------------------
1 | Select a file in the file navigator and click btn:[Open].
--------------------------------------------------------------------------------
/test/scenarios/email/implicit.adoc:
--------------------------------------------------------------------------------
1 | Here is my email address: doc.writer@asciidoc.org.
--------------------------------------------------------------------------------
/test/scenarios/email/link.html:
--------------------------------------------------------------------------------
1 | Doc Writer
--------------------------------------------------------------------------------
/test/scenarios/link/bare.adoc:
--------------------------------------------------------------------------------
1 | The AsciiDoc project is located at http://asciidoc.org.
--------------------------------------------------------------------------------
/test/scenarios/strong/constrained.adoc:
--------------------------------------------------------------------------------
1 | You *really* need to check out this *awesomeness*.
--------------------------------------------------------------------------------
/test/scenarios/button/ok.html:
--------------------------------------------------------------------------------
1 | Press the OK button when you are finished.
--------------------------------------------------------------------------------
/test/scenarios/code/nested.html:
--------------------------------------------------------------------------------
1 | This code is really important.
--------------------------------------------------------------------------------
/test/scenarios/email/subject.adoc:
--------------------------------------------------------------------------------
1 | mailto:doc.writer@asciidoc.org[Doc Writer, Pull request]
--------------------------------------------------------------------------------
/test/scenarios/menu/target.html:
--------------------------------------------------------------------------------
1 | Editing tools can be found in the Edit.
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_macro_default_subs.html:
--------------------------------------------------------------------------------
1 | underline me is underlined.
--------------------------------------------------------------------------------
/test/scenarios/image/title.adoc:
--------------------------------------------------------------------------------
1 | Click image:icons/pause.png[title="Pause"] when you need a break.
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_macro.adoc:
--------------------------------------------------------------------------------
1 | pass:specialcharacters,quotes[['code'\\]]
--------------------------------------------------------------------------------
/test/scenarios/passthrough/inline_macro_default_subs.adoc:
--------------------------------------------------------------------------------
1 | pass:[underline me] is underlined.
--------------------------------------------------------------------------------
/test/scenarios/email/tag.adoc:
--------------------------------------------------------------------------------
1 | You can support this project by becoming a sponsor: hello+donation@4fs.no
--------------------------------------------------------------------------------
/test/scenarios/emphasis/strong.adoc:
--------------------------------------------------------------------------------
1 | Using *_bold and italic_* is the strongest way to emphasize text.
--------------------------------------------------------------------------------
/test/scenarios/substitution/markup.adoc:
--------------------------------------------------------------------------------
1 | All your inline markup belongs to us!
--------------------------------------------------------------------------------
/test/scenarios/button/open.html:
--------------------------------------------------------------------------------
1 | Select a file in the file navigator and click Open.
--------------------------------------------------------------------------------
/test/scenarios/image/name-title.adoc:
--------------------------------------------------------------------------------
1 | Click image:icons/play.png[Play, title="Play"] to get the party started.
--------------------------------------------------------------------------------
/test/scenarios/keyboard/plus.html:
--------------------------------------------------------------------------------
1 | Increase zoom: Ctrl++
--------------------------------------------------------------------------------
/test/scenarios/link/quoted-label.adoc:
--------------------------------------------------------------------------------
1 | https://example.org["Google, Yahoo, Bing"]. Pick your search engine.
--------------------------------------------------------------------------------
/test/scenarios/strong/nested-emphasis.html:
--------------------------------------------------------------------------------
1 | This sentence has reached max volume.
--------------------------------------------------------------------------------
/test/scenarios/email/subject.html:
--------------------------------------------------------------------------------
1 | Doc Writer
--------------------------------------------------------------------------------
/test/scenarios/image/positioning-role.adoc:
--------------------------------------------------------------------------------
1 | image:sunset.jpg[Sunset,150,150,role="right"] What a beautiful sunset!
--------------------------------------------------------------------------------
/test/scenarios/keyboard/combo-duo.html:
--------------------------------------------------------------------------------
1 | Open a new tab: Ctrl+T
--------------------------------------------------------------------------------
/test/scenarios/link/url-special-characters.adoc:
--------------------------------------------------------------------------------
1 | link:++https://example.org/?q=[a b]++[URL with special characters]
--------------------------------------------------------------------------------
/test/scenarios/menu/subitem.adoc:
--------------------------------------------------------------------------------
1 | Select menu:View[Zoom > Reset] to reset the zoom level to the default setting.
--------------------------------------------------------------------------------
/test/scenarios/email/body.adoc:
--------------------------------------------------------------------------------
1 | mailto:doc.writer@asciidoc.org[Doc Writer, Pull request, Please accept my pull request]
--------------------------------------------------------------------------------
/test/scenarios/link/quoted-label.html:
--------------------------------------------------------------------------------
1 | Google, Yahoo, Bing. Pick your search engine.
--------------------------------------------------------------------------------
/test/scenarios/link/url-special-characters.html:
--------------------------------------------------------------------------------
1 | URL with special characters
--------------------------------------------------------------------------------
/test/scenarios/link/window-blank.adoc:
--------------------------------------------------------------------------------
1 | Join us on https://gitter.im/asciidoctor/asciidoctor[Gitter, window="_blank"].
--------------------------------------------------------------------------------
/test/scenarios/strong/constrained.html:
--------------------------------------------------------------------------------
1 | You really need to check out this awesomeness.
--------------------------------------------------------------------------------
/lib/asciidoctor/inline_parser.rb:
--------------------------------------------------------------------------------
1 | require_relative 'inline_parser/version'
2 | require_relative 'inline_parser/parser'
3 |
--------------------------------------------------------------------------------
/test/scenarios/emphasis/strong.html:
--------------------------------------------------------------------------------
1 | Using bold and italic is the strongest way to emphasize text.
--------------------------------------------------------------------------------
/test/scenarios/keyboard/escaped-closed-bracket.html:
--------------------------------------------------------------------------------
1 | Jump to keyword: Ctrl+]
--------------------------------------------------------------------------------
/test/scenarios/link/irc.adoc:
--------------------------------------------------------------------------------
1 | IRC (Internet Relay Chat) is a chat service used in Fedora community: irc://irc.freenode.org/#fedora
--------------------------------------------------------------------------------
/test/scenarios/link/window-blank.html:
--------------------------------------------------------------------------------
1 | Join us on Gitter.
--------------------------------------------------------------------------------
/test/scenarios/substitution/markup.html:
--------------------------------------------------------------------------------
1 | All your <em>inline</em> markup belongs to <strong>us</strong>!
--------------------------------------------------------------------------------
/test/scenarios/email/implicit.html:
--------------------------------------------------------------------------------
1 | Here is my email address: doc.writer@asciidoc.org.
--------------------------------------------------------------------------------
/test/scenarios/link/bare.html:
--------------------------------------------------------------------------------
1 | The AsciiDoc project is located at http://asciidoc.org.
--------------------------------------------------------------------------------
/test/scenarios/link/label.adoc:
--------------------------------------------------------------------------------
1 | https://asciidoctor.org/[Asciidoctor] is a fast, open source text processor and publishing toolchain.
--------------------------------------------------------------------------------
/test/scenarios/link/role.adoc:
--------------------------------------------------------------------------------
1 | Join us on https://gitter.im/asciidoctor/asciidoctor[Gitter to discuss Asciidoctor, role="external"]!
--------------------------------------------------------------------------------
/test/scenarios/link/url-special-characters-encoded.adoc:
--------------------------------------------------------------------------------
1 | link:https://example.org/?q=%5Ba%20b%5D[URL with special characters encoded]
--------------------------------------------------------------------------------
/test/scenarios/link/window-blank-shorthand.adoc:
--------------------------------------------------------------------------------
1 | Join us on https://gitter.im/asciidoctor/asciidoctor[Gitter to discuss Asciidoctor^].
--------------------------------------------------------------------------------
/test/scenarios/email/explicit.adoc:
--------------------------------------------------------------------------------
1 | If you want to know more about the mailto macro, send me an email at mailto:doc.writer@asciidoc.org[]!
--------------------------------------------------------------------------------
/test/scenarios/keyboard/combo-trio.html:
--------------------------------------------------------------------------------
1 | New incognito window: Ctrl+Shift+N
--------------------------------------------------------------------------------
/lib/asciidoctor/inline_parser/version.rb:
--------------------------------------------------------------------------------
1 | module Asciidoctor
2 | module InlineParser
3 | VERSION = '0.1.0'.freeze
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/test/scenarios/image/title.html:
--------------------------------------------------------------------------------
1 | Click
What a beautiful sunset!
--------------------------------------------------------------------------------
/test/scenarios/link/window-blank-shorthand.html:
--------------------------------------------------------------------------------
1 | Join us on Gitter to discuss Asciidoctor.
--------------------------------------------------------------------------------
/test/scenarios/literal/command-prompt.html:
--------------------------------------------------------------------------------
1 | $ docker -it --run node:8-alpine4 |
<strong>) indicates that its contents have strong importance, seriousness, or urgency.
--------------------------------------------------------------------------------
/test/scenarios/strong/unconstrained.adoc:
--------------------------------------------------------------------------------
1 | **C**reate. **R**ead. **U**pdate. **D**elete. Also known as *CRUD*. *CRUD*--the essential database operations. Not to be confused with E**CRU**, which is a color. ®**CRUD** it is not.
--------------------------------------------------------------------------------
/test/scenarios/email/second-level-domain.adoc:
--------------------------------------------------------------------------------
1 | In a number of countries, .co is used as a second-level domain to mean "commercial" and domain registrants register second-level domains, for instance john@domain.co.uk in the United Kingdom.
--------------------------------------------------------------------------------
/lib/asciidoctor/inline_parser/asciidoctor_btn_grammar.treetop:
--------------------------------------------------------------------------------
1 | grammar AsciidoctorBtnGrammar
2 |
3 | rule btn
4 | 'btn:[' btn_content ']'