You're viewing old version number 2. - Current version
Testing fenced code blocks
I'm typing this page in Markdown.
Will try to add my own support for this.
Will make it available, regardless of what markup language that I'm using, similar to my other custom formatting commands.
My custom fenced code block command code. / code..
is available when I'm typing in Textile or Markdown/Multimarkdown. The feature limits the window size that displays the code. So if it's a large blob of code, a small read-only text window with vertical and horizontal scrollbars displays the code.
A fence-code block like what's used by the Github Flavored Markdown or specified at CommonMark would display the entire code blob on the web page.
But instead of indenting the entire code blob four spaces on each line like with Markdown, the fenced block only needs to be surrounded by three tildes or three backticks.
I also support a command called code=yes
but this turns the entire web page into a code page. Sometimes, that's fine, but most of the time, code text is mixed with normal text on the same web page.
From JR's : articles
181 words - 1053 chars
- 1 min read
created on
updated on
- #
source
- versions
Related articles
Testing fenced code block commands - Sep 23, 2014
This is a test: with the colon punct in the title - Jul 16, 2014
Resolved - Add client-side Textile markup editor - Aug 21, 2013
Junco user actions - Nov 01, 2013
Resolved - Add Markdown support - Jul 02, 2013
more >>