Upgrade mermaid to newest version Change mermaid tag name to graph, and it'll be enabled automatically Fix relpath not right bug Change custom_css as string type
Add bootstrap 3 theme support
- Add mermaid support
For example:
{% mermaid %}
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
{% endmermaid %}
will render to:
{% mermaid %} graph TD; A-->B; A-->C; B-->D; C-->D; {% endmermaid %}
{% mermaid %}
sequenceDiagram
participant Alice
participant Bob
Alice->John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
{% endmermaid %}
will render to:
{% mermaid %}
sequenceDiagram
participant Alice
participant Bob
Alice->John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts
prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
{% endmermaid %}
{% mermaid %}
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
section Critical tasks
Completed task in the critical line :crit, done, 2014-01-06,24h
Implement parser and jison :crit, done, after des1, 2d
Create tests for parser :crit, active, 3d
Future task in critical line :crit, 5d
Create tests for renderer :2d
Add to mermaid :1d
{% endmermaid %}
will render to:
{% mermaid %} gantt dateFormat YYYY-MM-DD title Adding GANTT diagram functionality to mermaid section A section Completed task :done, des1, 2014-01-06,2014-01-08 Active task :active, des2, 2014-01-09, 3d Future task : des3, after des2, 5d Future task2 : des4, after des3, 5d section Critical tasks Completed task in the critical line :crit, done, 2014-01-06,24h Implement parser and jison :crit, done, after des1, 2d Create tests for parser :crit, active, 3d Future task in critical line :crit, 5d Create tests for renderer :2d Add to mermaid :1d {% endmermaid %}
-
Remove bootstrap theme
-
Add check and radio icon in list. you can define them like
* [*] checkbox with checked * <*> radio with checked * [ ] checkbox without checked * [] checkbox without checked * < > radio without checked * <> radio without checked
- Fix
open()
bug in windows platform, missing encoding parameter, default will by 'utf8' and you can change it inconf.py
forencoding
variable.
- Refactor with _compat.py
- Support py2&3
- Fix disqus not defined when init bug. You can just change it in conf.py later.
- Upgrade semantic-ui to 0.15.1
- Fix
include
rule - Fix comment.js bug in sementic-ui theme.
- Add press
h
to goto index.html support. - Add goto top support.
- Fix
include
bug - Fix
class=linenums
bug
-
Add
include
syntax, so that you can include source code to markdown file, for example:{% include file=test.js, lines=1-2 10-, language=python, class=linenums %} {% endinclude %}
class=linenums
is used to display line number.The simplest format is:
{% include file=test.js %} {% endinclude %}
Also support regular expression, for example:
{% include file=test.js%}re. \$\('\.div'\)...^\}\); {% endinclude %}
parm will not automatically escape special characters such as
{()}
etc. And you should separate begin pattern and end pattern with...
. Extra blank before the pattern will not skipped, but ending blank will be trimmed. -
Add
test_parm.py
file to testinclude
syntax. -
Fix customized
prettify.css
bug in semantic theme
- Change
setup.py
, addpar
package requirement. - Add google search support, you can config it via init command by default.
- Fix
rst2md
parsing.. contents::
bug. - Change
rst2md
andmake
command parameter.
- Bug fix
- Add exclude support
- Fix readme
- Add disqus config support
- Add semantic theme
- Fix sub directory link bug
- Remove anchor in title of index.html
- Fix source file copy bug
- Fix scroll offset bug
- Fix make command, copy all directories to output directory excep for template_dir
- upgrade css to suit with responsable
- add files parameters to make command
- upgrade with par 0.7, fix css and toc generation
- add sub directories support for source
-
Add toc multiple column css support, you can pass class=multiple to toc, for example:
{% toc max_depth=1,class="multiple3" %} file1.md file2.md file3.md {% endtoc %}
-
Add cusome_css support, so you can pass your custom css in conf.py.
- Fix setup.py adding data files
- Fix heading 1 not found
- Add source file view support
- Add rst2md sub command, it can convert rst to markdown
First version