Skip to content

Instantly share code, notes, and snippets.

@enpassant
enpassant / user.go
Last active August 12, 2020 06:41 — forked from sagikazarmark/user.go
User service example
package user
import "errors"
type VerifiedID string
type IDService interface {
VerifyID(id string) (error, VerifiedId)
}
@enpassant
enpassant / vimwiki2html.md
Last active May 14, 2024 20:56
Convert VimWiki to HTML (markdown, mediawiki)

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