Write UI in Markdown Syntax. See http://jjuliano.github.io/markdown-ui/
Markdown-UI is readily available as a Ruby gem. The minimum required Ruby version is 2.0.
$ gem install markdown-ui
Output is via standard out, which can be piped to create an HTML file. (Under Mac and Linux)
$ markdown-ui index.mdui > index.html
You can interactively create Markdown-UI websites using the markdown-ui-shell.
$ markdown-ui-shell
Hit RETURN three times to parse.
# __Button|A Button__
#
#
<button class="ui button">A Button</button>
#
Markdown-UI would not be possible without the the Semantic-UI framework, and the Ruby RedCarpet library. A huge thanks and credit goes to the people behind these wonderful framework and libraries.
- Ongoing support for Semantic-UI elements/modules/components
- The Colon (:) character will be parsed when used inside a text, needs post-processing to dislay correctly (for URLs)
- A separator in between two spaces is required on block elements to separate elements (see Column example)
- Some elements requires custom javascripts (ie toggle button) in order to display and format them properly. You can write in HTML and Javascripts the additional code alongside your Markdown-UI docs to display them properly.
- Fork it ( https://github.com/jjuliano/markdown-ui/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request