All Projects → mattn → Memo

mattn / Memo

Licence: mit
📓 Memo Life For You

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Memo

Cv
A resume template written in Markdown,Yaml JSON auto generates github-pages website & PDF by Jekyll. 在线简历生成模板(超高兼容可导PDF)
Stars: ✭ 61 (-92.09%)
Mutual labels:  jekyll, markdown
Netlify Plugin Ghost Markdown
Returns Ghost content as markdown files for static site generators like Jekyll to consume.
Stars: ✭ 46 (-94.03%)
Mutual labels:  jekyll, markdown
New website
a fork of https://jonbarron.info/ for use in jekyll builds with markdown page updates
Stars: ✭ 51 (-93.39%)
Mutual labels:  jekyll, markdown
Glim
Static site generator which is semi-compatible with Jekyll
Stars: ✭ 76 (-90.14%)
Mutual labels:  jekyll, markdown
Jokecamp.com
personal blog and website
Stars: ✭ 79 (-89.75%)
Mutual labels:  jekyll, markdown
Jekyll
🌐 Jekyll is a blog-aware static site generator in Ruby
Stars: ✭ 43,803 (+5581.32%)
Mutual labels:  jekyll, markdown
Md Cv
markdown cv / résumé built with jekyll
Stars: ✭ 96 (-87.55%)
Mutual labels:  jekyll, markdown
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (-74.58%)
Mutual labels:  jekyll, markdown
Cayman
Cayman is a Jekyll theme for GitHub Pages
Stars: ✭ 719 (-6.74%)
Mutual labels:  jekyll
Markdown New Tab
🗒️ ⏰ ✅ Save notes in Markdown directly in the 'New Tab' page
Stars: ✭ 746 (-3.24%)
Mutual labels:  markdown
Remark Lint
Markdown code style linter
Stars: ✭ 718 (-6.87%)
Mutual labels:  markdown
Markdown Cv
a simple template to write your CV in a readable markdown file and use CSS to publish/print it.
Stars: ✭ 721 (-6.49%)
Mutual labels:  jekyll
Particle
A simple portfolio Jekyll theme:
Stars: ✭ 747 (-3.11%)
Mutual labels:  jekyll
Markdown Syntax Zhtw
Markdown 語法說明中文版
Stars: ✭ 721 (-6.49%)
Mutual labels:  markdown
Rdiscount
Discount (For Ruby) Implementation of John Gruber's Markdown
Stars: ✭ 756 (-1.95%)
Mutual labels:  markdown
Rxmarkdown
📠Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
Stars: ✭ 714 (-7.39%)
Mutual labels:  markdown
Embedmd
embedmd: embed code into markdown and keep everything in sync
Stars: ✭ 714 (-7.39%)
Mutual labels:  markdown
Artsy.github.io
The Artsy Engineering Open-Source Developers Blog
Stars: ✭ 770 (-0.13%)
Mutual labels:  jekyll
Glow
Render markdown on the CLI, with pizzazz! 💅🏻
Stars: ✭ 7,596 (+885.21%)
Mutual labels:  markdown
Livedown
Live Markdown previews for your favorite editor.
Stars: ✭ 740 (-4.02%)
Mutual labels:  markdown

memo

Memo Life For You

Memo Life For You

Usage

NAME:
   memo - Memo Life For You

USAGE:
   memo [global options] command [command options] [arguments...]

VERSION:
   0.0.4

COMMANDS:
     new, n     create memo
     list, l    list memo
     edit, e    edit memo
     delete, d  delete memo
     grep, g    grep memo
     config, c  configure
     serve, s   start http server
     help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Installation

$ go get github.com/mattn/memo

Let's start create memo file.

$ memo new
Title:

Input title for the memo, then you see the text editor launched. After saving markdown, list entries with memo list.

$ memo list
2017-02-07-memo-command.md   : Installed memo command

And grep

$ memo grep command
2017-02-07-memo-command.md:1:# Installed memo command

Configuration

run memo config.

memodir = "/path/to/you/memo/dir" # specify memo directory
memotemplate = "path/to/tmpl.txt" # optional memo template file. default '~/.config/memo/template.txt'
editor = "vim"                    # your favorite text editor
column = 30                       # column size for list command
selectcmd = "peco"                # selector command for edit command
grepcmd = "grep -nH"              # grep command executable
assetsdir = "/path/to/assets"     # assets directory for serve command
pluginsdir = "path/to/plugins"    # plugins directory for plugin commands. default '~/.config/memo/plugins'.

memodir, memotemplate and assetsdir can be used ~/ prefix or $HOME or OS specific environment variables. editor, selectcmd and grepcmd can be used placeholder below.

placeholder replace to
${FILES} target files
${DIR} same as memodir
${PATTERN} grep pattern

Memo Template

You can use memo template using Go's text/template format. A template receives the following attributes.

  • Title
  • Date (format: %Y-%m-%d %H:%M)
  • Categories (always empty)
  • Tags (always empty)

The following is a template example to apply YAML Frontmatter.

---
title: {{.Title}}
date: {{.Date}}
---

{{.Title}}
===========

You can also use glidenote/memolist.vim's template format like following.

title: {{_title_}}
==========
date: {{_date_}}
tags: [{{_tags_}}]
categories: [{{_categories_}}]
----------

Supported GrepCmd

Command Configuration
GNU Grep grepcmd = "grep -nH" #default
ag grepcmd = "ag ${PATTERN} ${DIR}"
jvgrep grepcmd = "jvgrep ${PATTERN} ${DIR}"

Supported SelectCmd

Command Configuration
gof selectcmd = "gof"
cho selectcmd = "cho"
fzf selectcmd = "fzf"

Extend With Plugin Commands

You can extend memo with custom commands. Place an executable file in your pluginsdir, memo can use it as a subcommand. For example, If you place foo file in your pluginsdir, you can run it by memo foo.

Below is spec of plugins:

  • MUST handle -usage option to show briefly, at least.
  • MUST NOT handle --xxx option.
  • MUST NOT use multi-byte strings in the usage.

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].