From: Alex Schroeder Date: Wed, 14 Aug 2019 10:59:05 +0000 (+0200) Subject: README: add example with preview X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8aac6bbd2ced985d3d0f647fad82d468ec994a30;p=jan-pona-mute.git README: add example with preview --- diff --git a/README.md b/README.md index 1d1e66a..d6efc4c 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,44 @@ written. If none exists, the first one is going to be created by the Any further commands you put into the file are simple executed as if you were to type them every time you start the program. +Notes +----- + +One thing I care about is editing comments with my favourite editor +and previewing them. This works really well if you have `mdcat` as it +renders Markdown. Here's the workflow: + +1. check notifications +2. pick a post +3. show latest comments +4. compose a note +5. preview note +6. leave a comment with that note + +This is what it looks like, assuming your editor is `ed`: + +``` +> notifications +... +> 1 +... +> comments +... +> note nice +/home/alex/.config/jan-pona-mute/notes/nice: No such file or directory +a +OK, I like this. Thanks! +. +w +25 +q + 1. nice +Use 'edit' to create a note. +> preview 1 +OK, I like this. Thanks! +> comment 1 +``` + Reference ---------