1
N.A.N.Y. 2018 / NANY 2018 Release: morg – another lightweight markup language
« on: December 22, 2017, 01:47 PM »
full doc & dev (for the moment) only in spanish (translations are welcome)
doc-config
doc syntax
Application Name | morg |
Version | 0.20 |
Short Description | another lightweight markup language... with exporter to html & cli viewer |
Repo Page (es) | https://github.com/nasciiboy/morg/ |
More Info (es) | https://nasciiboy.github.io/tags/morg/ |
System Requirements | Go(lang) and GNU/Linux (tested), macos (?), others (?) |
Author | (me) nasciiboy |
Installation | go get github.com/nasciiboy/morg |
Usage (html) | go toHtml my-doc.morg |
Usage (cli) | go tui my-doc.morg |
An example doc | https://github.com/nasciiboy/tgpl |
doc-config
Code: Text [Select]
- ..title > The Title
- ..subtitle > the subtitle
- ..author > author
- ..style > my-css-path
- ..options > fancyCode toc
doc syntax
Code: Text [Select]
- * header (h1)
- simple text paragraph... whit @e(emphasis) and @b(bold) and
- @l[#header (h2)<>link] to header h3
- another paragraph
- and other still in header (h1)
- ..img > my-image.(jpg|png|svg)
- ..src > c
- // this is a C code bloc
- printf( "hello wordl\n" );
- < src..
- ** header (h2)
- a simple list
- - item 1
- - item 2
- - item 3
- other style of list
- 1) item 1
- 2) item 2
- 3) item 3
- and other
- a. item 1
- b. item 2
- c. item 3
- *** header (h3)
- very very simple table (new syntax coming soon...)
- | Headers | A | B | C |
- |===========|=======|=======|=====|
- | ueotnh | t | t | t |
- |-----------|-------|-------|-----|
- | t | t | t | t |
- * another header (h1)
- this is the end my friend