Skip to content

Instantly share code, notes, and snippets.

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 /
Last active Apr 11, 2021
Convert VimWiki to HTML (markdown, mediawiki)

With this 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',