jgarber / redcloth

RedCloth is a Ruby library for converting Textile into HTML.
Other
445 stars 102 forks source link

Variables #55

Closed ghost closed 4 years ago

ghost commented 5 years ago

Asciidoc markup offers the option of variables, or "attributes" as they call them:

https://asciidoctor.org/docs/user-manual#attributes

it allows you to remove redundancy in a graceful way:

:q: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

- {q}/Global_Objects/Array/pop
- {q}/Global_Objects/Array/shift
- {q}/Global_Objects/Array/splice