[NO MAINTENANCE] a jQuery plugin for preview markdown table of content jQuery.zTree_Toc.js toc ztree and online demo site v0.4.1
[NO MAINTENANCE] a jQuery plugin for preview markdown table of content jQuery.zTree_Toc.js toc ztree and online demo site v0.4.1
this is a jQuery plugin for preview markdown table of content
Cli tools for compile markdown to html with jquery.ztree_toc.js
Add this line to your html file:
Add this line to your html file:
And then execute:
or use bower to install
@see demo/*.html
for example:
$(document).ready(function(){
$('#tree').ztree_toc({
is_auto_number: true,
// documment_selector: '.first_part'
});
});npm install -g grunt-cli
gruntconsole result
➜ i5ting_ztree_toc git:(master) ✗ touch build.sh
➜ i5ting_ztree_toc git:(master) ✗ grunt
Running "qunit:files" (qunit) task
Testing test/index.html ...OK
>> 16 assertions passed (28ms)
Running "clean:files" (clean) task
Cleaning dist...OK
Running "concat:dist" (concat) task
File "dist/ztree_toc.js" created.
Running "uglify:dist" (uglify) task
File "dist/ztree_toc.min.js" created.
Done, without errors.this plugin can be find in following ways:
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)or @see at CONTRIBUTING.md
@see at History.md
在issue提问或邮件[email protected]
this jQuery plugin is released under the MIT License.
No open issues yet, or sync has not completed.