Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zweifisch/vimwiki-assets
basic styles and code hightlight for vimwiki exported markup
https://github.com/zweifisch/vimwiki-assets
pkm vim vimwiki
Last synced: 8 days ago
JSON representation
basic styles and code hightlight for vimwiki exported markup
- Host: GitHub
- URL: https://github.com/zweifisch/vimwiki-assets
- Owner: zweifisch
- Created: 2012-03-24T05:27:19.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T13:41:40.000Z (over 6 years ago)
- Last Synced: 2023-04-09T21:22:26.006Z (almost 2 years ago)
- Topics: pkm, vim, vimwiki
- Language: CSS
- Homepage:
- Size: 42 KB
- Stars: 18
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
style([markdown.css](http://kevinburke.bitbucket.org/markdowncss/)) and code
highlight(through [highlight.js](http://softwaremaniacs.org/soft/highlight/)
for html exported from vimwiki, also an export template for vimwikifirst, some setup in .vimrc
```vim
let vimwiki_path='path/to/wiki/files/'
let vimwiki_export_path='path/to/export/folder/'
let wiki_settings={
\ 'template_path': vimwiki_export_path.'vimwiki-assets/',
\ 'template_default': 'default',
\ 'template_ext': '.html',
\ 'auto_export': 0,
\ 'nested_syntaxes': {
\ 'js':'javascript',
" more langs...
\ }}let wikis=["your_wiki","another_wiki","more_topics..."]
let g:vimwiki_list = []
for wiki_name in wikis
let wiki=copy(wiki_settings)
let wiki.path = vimwiki_path.wiki_name.'/'
let wiki.path_html = vimwiki_export_path.wiki_name.'/'
let wiki.diary_index = 'index'
let wiki.diary_rel_path = 'diary/'
call add(g:vimwiki_list, wiki)
endfor
```then, get this repo
```sh
mkdir -p path/to/export/folder
cd !$
git clone https://github.com/zweifisch/vimwiki-assets
```finally, open an wiki run `:VimwikiAll2HTML`