# language: en Feature: Text Formatting In order to apply formatting to the text As a writer I want to be able to markup inline text with formatting characters Scenario: Convert text that contains superscript and subscript characters Given the AsciiDoc source """ _v_~rocket~ is the value ^3^He is the isotope log~4~x^n^ is the expression M^me^ White is the address the 10^th^ point has coordinate (x~10~, y~10~) """ When it is converted to html Then the result should match the HTML source """

vrocket is the value 3He is the isotope log4xn is the expression Mme White is the address the 10th point has coordinate (x10, y10)

""" Scenario: Convert text that has ex-inline literal formatting Given the AsciiDoc source """ Use [x-]`{asciidoctor-version}` to print the version of Asciidoctor. """ When it is converted to html Then the result should match the HTML source """

Use {asciidoctor-version} to print the version of Asciidoctor.

""" Scenario: Convert text that has ex-inline monospaced formatting Given the AsciiDoc source """ The document is assumed to be encoded as [x-]+{encoding}+. """ When it is converted to html Then the result should match the HTML source """

The document is assumed to be encoded as UTF-8.

"""