mirror of
https://github.com/randogoth/md2mu.git
synced 2025-12-22 08:27:09 +00:00
init
This commit is contained in:
22
README.md
22
README.md
@@ -1,2 +1,22 @@
|
||||
# md2mu
|
||||
CLI tool to convert existing Markdown files into Micron format to use in Nomad Network nodes
|
||||
|
||||
Simple CLI tool to convert existing Markdown files into Micron format to use in [Nomad Network](https://github.com/markqvist/NomadNet) nodes
|
||||
|
||||
```
|
||||
usage: md2mu.py [-h] [md_file] [mu_file]
|
||||
|
||||
Converts a Markdown file to Micron format
|
||||
|
||||
positional arguments:
|
||||
md_file Markdown formatted source file
|
||||
mu_file Micron formatted destination file
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
```
|
||||
|
||||
## Usage:
|
||||
|
||||
```
|
||||
$ python3 md2mu.py markdown.md micron.mu
|
||||
```
|
||||
88
micron.mu
Normal file
88
micron.mu
Normal file
@@ -0,0 +1,88 @@
|
||||
>h1 Heading 8-)
|
||||
>>h2 Heading
|
||||
>>>h3 Heading
|
||||
>>>h4 Heading
|
||||
>>>h5 Heading
|
||||
>>>h6 Heading
|
||||
|
||||
>>Horizontal Rules
|
||||
|
||||
-
|
||||
|
||||
-
|
||||
|
||||
-
|
||||
|
||||
>>Emphasis
|
||||
|
||||
`!This is bold text`!
|
||||
`!This is bold text`!
|
||||
`*This is italic text`*
|
||||
`*This is italic text`*
|
||||
~~Strikethrough~~
|
||||
|
||||
>>Blockquotes
|
||||
|
||||
>>>>Blockquotes can also be nested...
|
||||
>>>>by using additional greater-than signs right next to each other...
|
||||
>>>>or with spaces between arrows.
|
||||
|
||||
>>Lists
|
||||
|
||||
>>>Unordered
|
||||
|
||||
+ Create a list by starting a line with `=+`=, `=-`=, or `=*`=
|
||||
|
||||
+ Marker character change forces new list start:
|
||||
|
||||
+ Ac tristique libero volutpat at
|
||||
|
||||
+ Facilisis in pretium nisl aliquet
|
||||
|
||||
+ Nulla volutpat aliquam velit
|
||||
|
||||
+ Very easy
|
||||
|
||||
>>>Ordered
|
||||
|
||||
+ Lorem ipsum dolor sit amet
|
||||
+ Consectetur adipiscing elit
|
||||
+ Integer molestie lorem at massa
|
||||
|
||||
>>Code
|
||||
|
||||
Inline `=code`=
|
||||
|
||||
Indented code
|
||||
|
||||
`=
|
||||
// Some comments
|
||||
line 1 of code
|
||||
line 2 of code
|
||||
line 3 of code`=
|
||||
Block code "fences"
|
||||
|
||||
`=
|
||||
Sample text here...
|
||||
`=
|
||||
|
||||
Syntax highlighting
|
||||
|
||||
`=
|
||||
var foo = function (bar) {
|
||||
return bar++;
|
||||
};
|
||||
|
||||
console.log(foo(5));
|
||||
`=
|
||||
|
||||
>>Links
|
||||
|
||||
`[link text`http://dev.nodeca.com]
|
||||
|
||||
`[link with title`http://nodeca.github.io/pica/demo/]
|
||||
|
||||
>>Images
|
||||
|
||||
`[https://octodex.github.com/images/minion.png]
|
||||
`[The Stormtroopocat`https://octodex.github.com/images/stormtroopocat.jpg]
|
||||
Reference in New Issue
Block a user