Skip to content

Instantly share code, notes, and snippets.

{
"version": "0.1.0",
"name": "pump",
"instructions": [
{
"name": "initialize",
"docs": [
"Creates the global state."
],
"accounts": [
@jenux
jenux / markdown-toc
Created July 11, 2014 06:29
Sample codes of generate TOC for markdown with js
<!--
copy from https://www.dropbox.com/s/bus9jw8yqm03z3b/markdown-toc-v2.txt
http://jianshu.io/p/34c92cbd0aaf
-->
<ul id="tree" class="ztree"></ul>
<article class='markdown-body'>
# titleI
## titleII
### titleIII