Skip to content

Instantly share code, notes, and snippets.

@wallyqs
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wallyqs/9489153 to your computer and use it in GitHub Desktop.
Save wallyqs/9489153 to your computer and use it in GitHub Desktop.
org tests
  • Outside a code block, everything is escaped

(kbd \U+FFE2C-c . C\U+FFE2)

@kbd{C-c . C}

<kbd>C-c . C</kbd>)

  • Default way, kbd tags would be escaped within a code block
(kbd \U+FFE2C-c . C\U+FFE2)
@kbd{C-c . C}
<kbd>C-c . C</kbd>)
  • By prefixing the tags with @, the tags can remain outside of code blocks.

(kbd \U+FFE2C-c . C\U+FFE2)

@kbd{C-c . C}

@<kbd>C-c . C@</kbd>)

  • Within code blocks these are escaped once again.
(kbd \U+FFE2C-c . C\U+FFE2)
@kbd{C-c . C}
@<kbd>C-c . C@</kbd>)
# in Github it becomes: @&lt;kbd&gt;C-c . C@&lt;/kbd&gt;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment