# Extensions This section describes the different extensions supported: ## Abbreviation Abbreviation can be declared by using the `*[Abbreviation Label]: Abbreviation description` Abbreviation definition will be removed from the original document. Any Abbreviation label found in literals will be replaced by the abbreviation description: ```````````````````````````````` example *[HTML]: Hypertext Markup Language Later in a text we are using HTML and it becomes an abbr tag HTML .
Later in a text we are using HTML and it becomes an abbr tag HTML
```````````````````````````````` An abbreviation definition can be indented at most 3 spaces ```````````````````````````````` example *[HTML]: Hypertext Markup Language *[This]: is not an abbreviation .*[This]: is not an abbreviation
````````````````````````````````
An abbreviation may contain spaces:
```````````````````````````````` example
*[SUPER HTML]: Super Hypertext Markup Language
This is a SUPER HTML document
.
This is a SUPER HTML document
```````````````````````````````` Abbreviation may contain any unicode characters: ```````````````````````````````` example *[😃 HTML]: Hypertext Markup Language This is a 😃 HTML document .This is a 😃 HTML document
```````````````````````````````` Abbreviations may be similar: ```````````````````````````````` example *[1A]: First *[1A1]: Second *[1A2]: Third We can abbreviate 1A, 1A1 and 1A2! .We can abbreviate 1A, 1A1 and 1A2!
```````````````````````````````` Abbreviations should match whole word only: ```````````````````````````````` example *[1A]: First We should not abbreviate 1.1A or 11A! .We should not abbreviate 1.1A or 11A!
```````````````````````````````` Abbreviations should match whole word only, even if the word is the entire content: ```````````````````````````````` example *[1A]: First 1.1A .1.1A
```````````````````````````````` Abbreviations should match whole word only, even if there is another glossary term: ```````````````````````````````` example *[SCO]: First *[SCOM]: Second SCOM .SCOM
```````````````````````````````` Abbreviations should only match when surrounded by whitespace: ```````````````````````````````` example *[PR]: Pull Request PRAA .PRAA
```````````````````````````````` Single character abbreviations should be matched ```````````````````````````````` example *[A]: Foo A .A
```````````````````````````````` The longest matching abbreviation should be used ```````````````````````````````` example *[Foo]: foo *[Foo Bar]: foobar Foo B .Foo B
````````````````````````````````