topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:21 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • View Profile
    • Donate to Member
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.jpgNANY 2018 Release: morg – another lightweight markup language

doc-config

Code: Text [Select]
  1. ..title    > The Title
  2. ..subtitle > the subtitle
  3. ..author   > author
  4. ..style    > my-css-path
  5. ..options  > fancyCode toc

doc syntax

Code: Text [Select]
  1. * header (h1)
  2.  
  3.   simple text paragraph... whit @e(emphasis) and @b(bold) and
  4.   @l[#header (h2)<>link] to header h3
  5.  
  6.   another paragraph
  7.  
  8.   and other still in header (h1)
  9.  
  10.   ..img > my-image.(jpg|png|svg)
  11.  
  12.   ..src > c
  13.     // this is a C code bloc
  14.  
  15.     printf( "hello wordl\n" );
  16.   < src..
  17.  
  18. ** header (h2)
  19.  
  20.   a simple list
  21.  
  22.   - item 1
  23.   - item 2
  24.   - item 3
  25.  
  26.   other style of list
  27.  
  28.   1) item 1
  29.   2) item 2
  30.   3) item 3
  31.  
  32.   and other
  33.  
  34.   a. item 1
  35.   b. item 2
  36.   c. item 3
  37.  
  38. *** header (h3)
  39.  
  40.   very very simple table (new syntax coming soon...)
  41.  
  42.   | Headers   | A     | B     | C   |
  43.   |===========|=======|=======|=====|
  44.   | ueotnh    | t     | t     | t   |
  45.   |-----------|-------|-------|-----|
  46.   | t         | t     | t     | t   |
  47.  
  48. * another header (h1)
  49.  
  50.   this is the end my friend

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: NANY 2018 Release: morg – another lightweight markup language
« Reply #1 on: December 30, 2017, 03: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/...commit-messages.html

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2018 Release: morg – another lightweight markup language
« Reply #2 on: December 30, 2017, 06:46 PM »
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