Editing documents with markdown in Copernica
by Edward Touw
Copernica users now have the option to edit articles with markdown. Markdown is an easy to learn markup language, created as a more simple alternative for HTML. Copernica users that don’t want to edit documents in HTML, already had the option to use the WYSIWYG editor.
Example
With markdown, it's possible to add markup to a text. Take the following example:
Email marketing
Even as a child, it was always Hank’s dream to become an email marketer.
He believed it would be great, the best job in the world. Just look at all those letters.
Luckily, he ended up working at Copernica.
The things he likes best about working for this company:
- He learns a lot about email marketing
- The office is located very centrally in Amsterdam
- He gets to work with great colleagues
His favourite co-workers are:
- John
- Casey
- Marie
He —enjoys— his work very much.
Copernica users can now markup this text using markdown:
Email marketing
---------------
Even as a child, it was always Hank’s dream to become an email marketer.
He believed it would be *great*, the **best job in the world**. Just look at all those `letters`.
Luckily, he ended up working at [Copernica](http://www.copernica.com).
The things he likes best about working for this company:
* He learns a lot about email marketing
* The office is located very centrally in Amsterdam
* He gets to work with great colleagues
His favourite co-workers are:
1. John
2. Casey
3. Marie
He ---enjoys--- his work very much.
The software will then automatically convert it to the following HTML:
<h2>Email marketing</h2>
<p>Even as a child, it was always Hank’s dream to become an email marketer. </p>
<p>He believed it would be <em>great</em>, the <strong>best job in the world</strong>. Just look at all those <span style="font-family : Courier;">letters</span>.</p>
<p>Luckily, he ended up working at <a href="http://www.copernica.com">Copernica</a>.</p>
<p>The things he likes best about working for this company: </p>
<ul>
<li>He learns a lot about email marketing</li>
<li>The office is located very centrally in Amsterdam</li>
<li>He gets to work with great colleagues</li>
</ul>
<p>His favourite co-workers are: </p>
<ol>
<li>John</li>
<li>Casey</li>
<li>Marie</li>
</ol>
<p>He —enjoys— his work very much.</p>
Articles
Markdown can now only be used on articles in the Content section in Copernica. Depending on users' demand, we'll implement this functionality in other features like emails and webpages as well.