DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: NANY 2018 Release: morg – another lightweight markup language  (Read 13,514 times)

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • Participated in NANY Challenge Once
full doc & dev (for the moment) only in spanish (translations are welcome)

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

morg.jpg

doc-config

Code: (text)
..title    > The Title
..subtitle > the subtitle
..author   > author
..style    > my-css-path
..options  > fancyCode toc

doc syntax

Code: (text)
* 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

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: NANY 2018 Release: morg – another lightweight markup language
« Reply #1 on: December 30, 2017, 09:29 AM »
Interesting mix of ideas. It looks a bit like a cross between markdown and reStructuredText.

This is somewhat unrelated to this project in particular, but I was checkout it out on GitHub, and I hope you do not mind, but I would like to suggest considering putting a summary of each commit in the first line of your git commit messages. It makes it easier to quickly see what has changed, both on GitHub, but also if you do "git log" from the command line.

https://chris.beams.io/posts/git-commit/
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • Participated in NANY Challenge Once
Re: NANY 2018 Release: morg – another lightweight markup language
« Reply #2 on: December 31, 2017, 12:46 AM »
Thank you for the comment, I feel that the complete documentation (and ideas) are not in English, but my level is not suitable to translate it without provoke misunderstandings

the format, mostly combines org-mode (that's where the name comes from), a bit of texinfo and the reStructuredText blocks

thanks for the counsel (git), the post is very good! but, so far my projects and their code, are very personal, so my commits are a kind of "musical bitacora" with what I was listening to while developing the code

Original address: https://www.donationcoder.com/forum/index.php?topic=44805.0