This is a single-file self-contained HTML slide-show document. It can be put on a static web server or shared by mail. Graphics are embedded as in-line SVG, Javascript doesn't require any external libraries. Fonts or bitmaps are embedded as base64 encoded chunks.
So any recent browser should be able to open it.
Keys
Spacebar or Enter toggles fly mode
p toggles printable/navigable document
w creates watermark on print view
Slideit
Create
The contents of this presentation can be written using a text editor in various formats:
pure html+css+js
markit which is a light-weight html syntax, giving access to the full potential of html5 but easier to write than html
wikit which is a wiki syntax giving access to html5 recent tags such as article, section,header,footer.
sketchit which is a block-diagram generator based on ascii-art
python which is an easy to use scripting language
Any combination of the above is welcome
The source file(s) is(are) processed by a one step operation to generate the single file presentation.
Slideit
Install
Dependencies
python interpreter 2.6,2.7 or 3.4
All other dependencies js,html,python are in the project's directory
Install
Install Python3 if you don't have it already
Check-out markit folder
Quick start
Goto the markit folder
Edit src/mydoc.mi and paste this:
_# My doc
Hello World !
python markit.py src/mydoc.mi doc/mydoc.html
Navigate to file://..../mydoc.html
Slideit
Execution Flow
1
Include directives
Many to Single file
2
Plugins execution
Python to any: wiki,markit,html,svg
3
Wiki search and replace
Wiki syntax to: markit,html,svg
4
Markit resolution
Markit to html,svg
Wikit
Wikit
_# heading 1
_## heading 2
_### heading 3
_#### heading 4
_##### heading 5
_###### heading 6
A word can be *Bold* or /Italic/ or Fixed width
A bullet list:
Lines made of | - + are detected. Groups of 4 lines forming rectangles are drawn as rectangles, all other lines are drawn as separate elements. Special characters ^ v < > @ are replaced by instances of bubbles and arrows terminators.
A B
------ | ^ | ^ ^ @ +------------+ @
| | | | | | ---+ | | |
<----- | | | | | | | | | +--v----+
| | | | | | +----> | | | |
@----> | | | | | | | | | | Hello |
| | v v @ v +----> +------------+ +-------+
D C
Sketchit
Polygons
In the perimeter of a rectangle contains dots, it is considered as a bonding box of a polygon. If only one dot is found an ellipse is drawn, else the dots are connected.
mark-it is something in between mark-down and mark-up. It is a syntax intended to be an intermediate format before conversion into full-blown html/svg. It is easier to read and write by both humans and computers. Possible applications are:
Manual writing of html, thanks to a syntax easier to read and to maintain.
Automatic writing of documents. Generators can post contents, keeping track of open tags and closing them is taken care of by the markit engine.
Simple mapping of a wiki syntax onto mark-it tags that acts as an intermediate step toward html generation.
Markit
Basic Syntax
Tags can opened and closed: [tag: attributes] contents [:tag]
This will be translated into <tag attributes> contents </tag>
Tags that have no contents can be written: [tag. attributes]
This will be translated into <tag attributes></tag>
But most of the magic comes from the fact that tags don't need to be closed manually, i.e. the [:tag] can be omitted and will be added by the markit engine.