Skip to content

Instantly share code, notes, and snippets.

@waylybaye
Created August 29, 2011 12:11
Show Gist options
  • Save waylybaye/1178267 to your computer and use it in GitHub Desktop.
Save waylybaye/1178267 to your computer and use it in GitHub Desktop.
vimwiki header demo
// .vimrc 文件
"Vimwiki settings
let g:vimwiki_use_mouse = 1
let g:vimwiki_list = [{'path': '~/Dropbox/note',
\ 'path_html': '~/Dropbox/note/html',
\ 'html_header': '~/Dropbox/note/html/header.tpl',
\ 'html_footer': '~/Dropbox/note/html/footer.tpl'}]
let g:vimwiki_camel_case = 0
// header.tpl
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="syntaxhighlighter/styles/shCore.css" />
<!--
<link rel="stylesheet" type="text/css" href="syntaxhighlighter/styles/shThemeFadeToGrey.css" />
-->
<link rel="stylesheet" type="text/css" href="syntaxhighlighter/styles/shThemeDefault.css" />
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushPython.js"></script>
<title>%title%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<div id="content">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment