[@dracoblue] (http://github.com/dracoblue), [@rmetzler] (http://github.com/rmetzler)
The idea is to use a specific markdown file to write proper formatted papers and articles. It's still work in progress and only pre-alpha, but already looks quite nice.
markdown, javascript, llncs
You can use this README.md
as source and generate a .html
by using:
$ bin/markdown-papers README.md README.html
The output should look like that:
You need [node.js] (http://nodejs.org), [npm] (http://npmjs.org) and the [CMU Fonts] (http://cm-unicode.sourceforge.net/) (optional, will fallback to default serif font) installed.
Use
$ ./configure
to automaticly resolve those by using [npm] (http://npmjs.org).
It's quite simple to test the current version.
Get your self a copy and configure it with npm:
$ git clone git://github.com/DracoBlue/markdown-papers.git
$ cd markdown-papers
$ ./configure
Now, test it:
$ bin/markdown-papers README.md README.html
and it will generate the README.md as a nicely formatted one.
If you want to use a different template (located at lib/templates/*.html
), you must use the --template
option.
$ bin/markdown-papers --template twocol README.md README.html
This will convert the .md
-File by using the lib/templates/twocol.html
template. You could put your own templates into that folder to make them available for the markdown-papers
script.
Even though this is still work in progress, here are the current rules for the document.
# Title
for the title of the Paper### Abstract
and ### Keywords
to provide those sections with content.## Item
will be added to the table of contents and is a section.Very simple example:
# My Paper
Mr. Author
### Abstract
This is a short one!
### Keywords
example, markdown
## Introduction
And so on
## Conclusion
Awesome
You can also use this README.md
as example.
MarkdownPaper#setTemplate(template_name)
, which loads templates/{template_name}.html
.screen.css
to screen.default.css
markdown-papers is available under the terms of MIT License.