Add documentaion about literal block
Test Plan: none, not sure how to test this Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1299
This commit is contained in:
@@ -27,6 +27,7 @@ formatting text in Remarkup:
|
|||||||
@username # Mention a user
|
@username # Mention a user
|
||||||
Use "- " or "* " for list items.
|
Use "- " or "* " for list items.
|
||||||
Use ``` or indent two spaces for code.
|
Use ``` or indent two spaces for code.
|
||||||
|
Use %%% for a literal block.
|
||||||
|
|
||||||
= Basic Styling =
|
= Basic Styling =
|
||||||
|
|
||||||
@@ -207,4 +208,15 @@ You can also use this as an explicit syntax for other web links, either within
|
|||||||
Phabricator or on the internet at large:
|
Phabricator or on the internet at large:
|
||||||
|
|
||||||
[[/herald/transcript/ | Herald Transcripts]]
|
[[/herald/transcript/ | Herald Transcripts]]
|
||||||
[[http://www.boring-legal-documents.com/ | exciting legal documents]]
|
[[http://www.boring-legal-documents.com/ | exciting legal documents]]
|
||||||
|
|
||||||
|
= Literal Blocks =
|
||||||
|
|
||||||
|
To place text in a literal block use "%%%":
|
||||||
|
|
||||||
|
%%%Text that won't be processed by remarkup
|
||||||
|
[[http://www.example.com | example]]
|
||||||
|
%%%
|
||||||
|
|
||||||
|
Remarkup will not process the text inside of literal blocks (other than to
|
||||||
|
escape HTML, linkify URLs, and preserve line breaks).
|
||||||
|
|||||||
Reference in New Issue
Block a user