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
kb
2
kb
|
@ -22,7 +22,7 @@ WHITE='\033[1;37m'
|
|||
NC='\033[0m'
|
||||
|
||||
# Provide a variable with the location of this script.
|
||||
#scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Source files
|
||||
# ##################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue