Markdown Support

Did you know that you can use TKE for writing Markdown files? TKE comes equipped with a Markdown syntax highlighter that goes a bit beyond colors. By default, any files ending with a .md extension will be treated as a Markdown file; however, you can, of course, change the syntax by selecting the “Markdown” item in the lower right corner of the the main window (or via the View / Set Syntax / Markdown menu option).

If you enter Markdown, TKE will display the text as directed by the syntax. So if you enter **bold**, the highlighter will display the word “bold” in bold font.  If you enter one or more pound signs at the beginning of the line, the rest of the line will be displayed in larger text.  And so on and so forth.

In fact, the following Markdown syntax is supported in TKE:

  • “code“ and `code`
  • # Header1, ## Header2, …, ###### Header6
  • **bold** and __bold__
  • *italics* and _italics_
  • […][link] and […](link)
  • […]: link reference
  • ~~overstrike~~
  • ~subscript~
  • ^superscript^
  • ==highlight==

When Markdown syntax is detected and the font is rendered, the Markdown syntax is highlighted in a muted color. When this happens, this syntax is considered to be meta, that is, they are characters that will be written to the file but are not considered to be content. You can hide/show meta characters in an editing buffer, by using the View / Show/Hide Meta Characters option. By hiding meta characters, you can essentially transform the TKE editing buffer into a WYSIWYG Markdown editor. As you type, any characters detected as meta will automatically be hidden, leaving the text in a state of better readability. Of course, all of the Markdown syntax is still a part of the file so saving text with hidden meta characters will still output those characters to the file.

To see more information and download your copy of the TKE code editor, visit http://tke.sourceforge.net

Advertisements
Markdown Support