Sri Lanka
-
40/2/21, Chakkindarama Rd,
Ratmalana,
10390,
Sri Lanka - [email protected]
- +94 112 722 566
- Facebook Twitter
In the context of CMSs the editors have a special place. Each CMS keeps on top with the best content editors. SilverStripe CMS our preferred CMS ships with TinyMCE an advanced What You See Is What You Get (WYSIWYG) editor so as Wordpress, Craft CMS has a Redactor powered editor, and there are many more. It feels so great when you have a WYSIWYG editor in there, and when you get the advanced interface to editor content. However WYSIWYG does now always returns what you see. And this is why we promote What You Read Is What You Get (thats a term we built) editors. To give you with a few examples where WYSIWYG fails,
Well we can list more, but lets talk more about Markdown, than talking bad about WYSIWYG.
Markdown is a text-to-html conversion tool for web authors. It allows you to write easy to read, plain text which gets converted to semantic HTML. Unlike HTML with Markdown you don't need to write various tags to markup the contents. It serves two things mainly
Markdown was created by John Gruber (https://daringfireball.net/), somewhere in 2004. Its goal is to provide an easy way of writing content, then gets converted to HTML. The original markdown project can be found here.
I think I've given the answer above, its because it is an easy way to write content, and with markdown there are no hidden rigmaroles. What you are going to get is what you just typed in and read in there. You just type plain text and shouldn't be worried about closing HTML tags or missing `<` or `>` characters. The best thing about it is debugging your content (huh! debug content). Well if there is any unexpected behaviour of the pages you post with a WYSIWYG editor you'd have to go through the HTML view and read through the code to find the issues. It may also require some technical knowledge but with Markdown its just in front of you in plain text, and fixing issues is an easy process.
Read through this example which outputs a list.
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
And in Markdown this is just a list of items where every item is prefixed with an asterisk (*)
* Item 1
* Item 2
* Item 3
* Item 4
Isn't that just easy to read, write and debug ?
Okay, here are some tips on how to use markdown, and the syntax.
Headings
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4
##### Heading 5
###### Heading 6
Ordered and Un-ordered lists
1. Ordered list item 1
2. Ordered list item 2
3. Ordered list item 3
* Unordered list item 1
* Unordered list item 2
* Unordered list item 3
Italics and bold
*This is some italics text*
** This is some bold text**
Its actually true, there is a good chance you'd be using markdown without knowing. Its being adopted by a lot of websites and applications. Some of them are:
I believe that there are many more.
It does isn't it? We are in love with it. Its an easy thing to learn and you'd get a lot, here's the Github markdown guide for more. There are many more implementations which supports writing mathematical formulas, latex. With our SilverStripe module we can help adding it on to your CMS as well.
3 years ago / Nivanka Fonseka
SilverStripers has adopted New Zealand Dollar pegged salaries to assist our team during the current economic crisis in Sri Lanka.
3 years ago / Dulitha Peiris
Our 11th anniversary is a story full of positivity & it is the beginning of a few good things to come