Title: Markup languages comparison | |
Author: Solène | |
Date: 13 April 2017 | |
Tags: unix | |
Description: | |
For the fun, here is a few examples of the same output in differents | |
markup languages. The list isn't exhaustive of course. | |
This is org-mode: | |
* This is a title level 1 | |
+ second item | |
+ third item with a [[http://dataswamp.org][link]] | |
blah blah blah *bold* here | |
#+BEGIN_SRC lisp | |
(let ((hello (init-string))) | |
(format t "~A~%" (+ 1 hello)) | |
(print hello)) | |
#+END_SRC | |
# this is title level 1 | |
+ second item | |
+ third item with a [Link](http://dataswamp.org) | |
blah blah blah **bold** here | |
(format t "~A~%" (+ 1 hello)) | |
(print hello)) | |
(let ((hello (init-string))) | |
(format t "~A~%" (+ 1 hello)) | |
(print hello)) | |
``` | |
<h1>This is title level 1</h1> | |
<ul> | |
<li>first item></li> | |
<li>second item</li> | |
<li>third item with a <a | |
href="http://dataswamp.org">link</a></li> | |
</ul> | |
blah blah blah <strong>bold</strong> here | |
(format t "~A~%" (+ 1 hello)) | |
(print hello))</pre></code> | |
This is LaTeX : | |
\begin{document} | |
\item First item | |
\item Second item | |
\item Third item | |
\end{itemize} | |
blah blah blah \textbf{bold} here | |
(let ((hello (init-string))) | |
(format t "~A~%" (+ 1 hello)) | |
(print hello)) | |
\end{verbatim} | |