"LaTeX sucks - markdown too."
- some person
This is just another markdown editor for the browser.
It has some features that might make it interesting though:
- read/write on file system
- documents are read/written directly on the servers filesystem, which makes their use in other applications really easy
- this also means that this application does not scale well, and is intended for single- (or few-) user scenarios only
- create documents from templates
- insert custom text snippets
- proper editor with syntax highlighting, undo, autoindent, drag/drop & shortcuts
- exports through pandoc integration
- directly convert & download documents using pandoc.
- technically all pandoc supported formats can be used, currently implemented are
PDF
,HTML5
,DOCX
,LaTeX
,reveal.js
,MediaWiki
,DokuWiki
- http auth for private access. authentication may be restricted to the save functionality for public read-access
- mailto link for the current document
- view mode, which hides the editor for a pure presentation of the document
nodejs >=v0.10
pandoc >=v1.12
texlive
or some other TeX distro for PDF export
-
install the above dependencies. On Debian based distros run
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install nodejs pandoc texlive
-
clone this repo & install npm & bower dependencies
git clone https://github.com/fs-geofs/Protokollfix.git cd Protokollfix npm install
If npm reports issues installing bower globally, change the path to global npm packages
to a directory you have write access to,
which is a good idea anyway.
Alternatively install bower with sudo (sudo npm install -g bower
) & run bower install
manually.
Check ./config.js
and make changes if needed, then run
npm start
By default the server will listen on http://localhost:8080.
For debug output you may run npm test
.
GPL-3.0
Used software packages are licensed under their own terms.
- sync scroll in both views via scroll map
- cache for files & templates? https://www.npmjs.com/package/lru-cache