Skip to content
/ cupdate Public

Runs multimarkdown on a source directory creating indexed html files

Notifications You must be signed in to change notification settings

trulsu/cupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cupdate

The purpose of this script is to generate html from a number of multimarkdown files.

The script expects the following directory structure:

root\
  source\
  html\
  css\
  template.erb

The 'source' directory contains multimarkdown files to be parsed.

The 'html' directory is where the resulting html files are put.

The 'css' directory should contain a style.css file, which is linked from all the html documents.

The template.erb is a template for all the html files and should contain the following tags:

  <%= title %>    - The title of the document (first main header in the markdown file)
  <%= css_link %> - The css link tag
  <%= content %>  - The result from running multimarkdown on the file

The result of the template file can contain plain html for marking the content.

About

Runs multimarkdown on a source directory creating indexed html files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages