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`.master
parent
4c891efdce
commit
7d554d5326
4 changed files with 47 additions and 3 deletions
@ -0,0 +1,18 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8" /> |
||||||
|
<meta name="generator" content="KB" /> |
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> |
||||||
|
$if(Tags)$ |
||||||
|
<meta name="keywords" content="$for(Tags)$$Tags$, $endfor$" /> |
||||||
|
$endif$ |
||||||
|
<title>$Title$</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
|
||||||
|
#TOC# |
||||||
|
|
||||||
|
$body$ |
||||||
|
</body> |
||||||
|
</html> |
Loading…
Reference in new issue