Dear All,
just release Casual-Markdown-Doc, which is a quick solution
to use markdown as document.
- include javascript lib
casual-markdown-doc.js
- include css style
casual-markdown-doc.css
then start write document in markdown format!
Credit
This project based on the design idea of Strapdown.js.
but use casual-markdown parser,
build-in css, vanilla javascript without any dependence. (support all browsers include IE9)
Usage
- create your document in html format. e.g.
casual-markdown-syntax.html
- use below first 4 line as header, and start draft content in markdown format
- at line 4, revise title to your document title
- start draft document in markdown format
<!DOCTYPE html>
<link href="https://casualwriter.github.io/dist/casual-markdown-doc.css" rel="stylesheet">
<script src="https://casualwriter.github.io/dist/casual-markdown-doc.js"></script>
<body title="document title here...">
## Heading
content in markdown format
Sample
- Introduction of Casual-Markdown-Doc. src: sample.html => preview
- Supported Markdown Syntax https://casualwriter.github.io/casual-markdown/casual-markdown-syntax.html
Hope you like it.
Have a nice day,
Top comments (0)