mkws
, but with a built-in webserver.
/home/adi
but not for /
.
mtm
fits me better. This is pretty cool also https://github.com/martanne/abduco.
mtm
a shot, pretty cool!
twin
before, screenshots anywhere?
tmux
alternative.
mkws
.
mkws
\n\n> refreshingly lightweight\n\nI agree. π
if
s there and just render the Markdown
if all you're building is a blog.
\n$ cat share/l.upphtml\n...\n<main>\n#!\nif test "${1%/*}" == "./p"\nthen\n#!\n<article>\n#!\ncmark "$1" | \\\nsed "s/\\\n\\(<h1>.*<\\/h1>\\)/\\\n\\1<time>$(echo "${1##*/}" | cut -c1-10 )<\\/time>/g"\n#!\n</article>\n#!\nelse\npp "$1"\nfi\n#!\n</main>\n...\n
pe
is pe.c
https://clbin.com/X1GkA, an utility for percent encoding strings.
\ncat share/f.upp\n
\ f\n...\n```">nhttps://clbin.com/XiMw4\n\n```\ncat bin/mkws\n...\necho "Making feed"\npp "$sharedir"/f.upp "$1" > f\n...\n```
\n$ cat blog.upphtml\n<h1>Blog</h1>\n<h2>News and a collection of tips and tricks for <code>mkws</code></h2>\n<ol id=i>\n#!\nfind p -mindepth 1 | sort -r | while read -r f\ndo\ntest "${f##*.}" == "html" && continue;\nt=$(echo "${f##*/}" | cut -c21-)\n#!\n<li>\n<h2><a href=p/$(echo "$t" | pe).html>$t</a></h2>\n<time>$(echo "${f##*/}" | cut -c1-10 )</time>\n</li>\n#!\ndone\n#!\n</ol>\n
\ncat bin/mkws\n...\nfor p in "$srcdir"/p/*\ndo\n test "${p##*.}" == "html" && continue\n echo "Making p/$(echo "${p##*/}" | cut -c21-).html"\n pp "$sharedir"/l.upphtml "$p" "$1" > "p/$(echo "${p##*/}" | cut -c21-).html"\n\ndone\n...\n
\n$ ls -1 p\n2021-02-28 15:34:42 Welcome\n2021-02-28 15:35:21 How to add a navigation menu\n2021-02-28 15:35:39 How to add custom titles\n2021-03-09 19:45:23 How to render
Markdown\nHow to add a navigation menu.html\nHow to add custom titles.html\nHow to render
Markdown.html\nWelcome.html\n
grep ... | colorize | less
\n\nExactly!\n\n> That would potentially expose the same problem.\n\nIt's only a problem for _you_ I guess, it seems they agree on that solution with advantages and disadvantages listed in the comments? Yeah, maybe go with another pager?