Adds the ability to convert to html
Issue #14 I still want, at some point, to add to other formats but this is fine for now. The tool uses pandoc to do the conversion from md to html A sample template (without any styling) is provided. This can be overwritten in $HOME/.config/kb/templates/main.html or in the knowledgebase directory under `templates`.
This commit is contained in:
parent
4c891efdce
commit
7d554d5326
4 changed files with 47 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -9,6 +9,8 @@ install:
|
|||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
sed '/^source/d' inc/* kb > $(DESTDIR)$(PREFIX)/bin/kb
|
||||
chmod +x $(DESTDIR)$(PREFIX)/bin/kb
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/kb
|
||||
cp -r templates $(DESTDIR)$(PREFIX)/share/kb
|
||||
|
||||
|
||||
uninstall:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue