azu / gitbook-plugin-include-codeblock

GitBook plugin for including file
Other
40 stars 25 forks source link

2.0.0 simple migration tool for Markdown #23

Closed azu closed 8 years ago

azu commented 8 years ago

22

We will prepare for migrating tool to v2 from v1.

azu commented 8 years ago

WIP https://github.com/azu/migrate-gitbook-plugin-include-codeblock


[import, lang-typescript](path/to/code.ts)

=>

[import, lang-typescript, title:"code.ts"](path/to/code.ts)

[import](path/to/code.js)

=>

[import, title:"code.js"](path/to/code.js)

[import,](path/to/code.js)

=>

[import, title:"code.js"](path/to/code.js)

[import, code.js](path/to/code.js)

=>

[import, title:"code.js"](path/to/code.js)

[import, title](path/to/code.js)

=>

[import, title, title:"code.js"](path/to/code.js)

[include](path/to/code.js)

=>

[include, title:"code.js"](path/to/code.js)

[include:1-10](path/to/code.js)

=>

[include:1-10, title:"code.js"](path/to/code.js)

[include:1-10,code.js](path/to/code.js)

=>

[include:1-10,title:"code.js"](path/to/code.js)

[include](http://example.com/to/code.js)

=>

[include](http://example.com/to/code.js)
azu commented 8 years ago

It is not contained 2.0.