Skip to content

Instantly share code, notes, and snippets.

@enpassant
enpassant / user.go
Last active Aug 12, 2020 — forked from sagikazarmark/user.go
User service example
View user.go
package user
import "errors"
type VerifiedID string
type IDService interface {
VerifyID(id string) (error, VerifiedId)
}
@enpassant
enpassant / vimwiki2html.md
Last active Apr 11, 2021
Convert VimWiki to HTML (markdown, mediawiki)
View vimwiki2html.md

With this wiki2html.sh bash script and pandoc program, you can convert markdown to html.

Usage: In the vim list section of the .vimrcfile, include options:

let g:vimwiki_list = [{'path': ‘your_wiki_place',
  \ 'path_html': ‘wiki_html_location’,
  \ 'syntax': 'markdown',
  \ 'ext': '.md',