<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="https://riceball.com/wp-content/plugins/pretty-rss-feeds/xslt/pretty-feed.xsl" type="text/xsl" media="screen" ?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zsh - 🍙</title>
	<atom:link href="https://riceball.com/tag/zsh/feed/" rel="self" type="application/rss+xml" />
	<link>https://riceball.com</link>
	<description></description>
	<lastBuildDate>Fri, 11 Sep 2026 21:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://riceball.com/wp-content/uploads/sites/2/2025/10/onigiri-150x150.png</url>
	<title>Zsh - 🍙</title>
	<link>https://riceball.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Markdown Editors</title>
		<link>https://riceball.com/2026/09/11/markdown-editors/</link>
					<comments>https://riceball.com/2026/09/11/markdown-editors/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 11 Sep 2026 21:30:21 +0000</pubDate>
				<category><![CDATA[Human Learning]]></category>
		<category><![CDATA[Zsh]]></category>
		<guid isPermaLink="false">https://riceball.com/?p=30488</guid>

					<description><![CDATA[<p>Someone asked me what markdown editors are good. I had to do some research, because I mainly used vim and one of the .rst viewers for a while. Then I switched to CryptPad for a minute, and then to Obsidian. Recommendations at the bottom. DIY GNOME Environment Markdown Editor This is a script that makes [&#8230;]</p>
<p>The post <a href="https://riceball.com/2026/09/11/markdown-editors/">Markdown Editors</a> first appeared on <a href="https://riceball.com">🍙</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">Someone asked me what markdown editors are good. I had to do some research, because I mainly used vim and one of the .rst viewers for a while. Then I switched to CryptPad for a minute, and then to Obsidian. Recommendations at the bottom.</p>



<h2 class="wp-block-heading">DIY GNOME Environment Markdown Editor</h2>



<p class="wp-block-paragraph">This is a script that makes a simple &#8220;Markdown editor&#8221; that&#8217;s a gedit window, and a <a href="https://github.com/commenthol/md-fileserver">md-fileserver</a> program, that, together, work like editors like Apostrophe.</p>



<p class="wp-block-paragraph">One window is for editing.</p>



<p class="wp-block-paragraph">The other is a preview.</p>



<p class="wp-block-paragraph">Save it into md-edit, and do a <code>chmod u+x md-edit</code> to make it an executable command. Note that it uses zsh, not bash, so you need zsh installed.</p>



<p class="wp-block-paragraph">This program automatically creates a document in &#8220;MarkdownNotes&#8221;, so I can create notes without naming the file. I realize this isn&#8217;t everyone&#8217;s use case, and I&#8217;m just presenting this as an example.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>#! /usr/bin/zsh

# Markdown editor setup using md-fileserver

if [&#91; -z "$1" &#93;]; then
    F="Untitled-`date +%Y-%m-%d`-$RANDOM.md"
    mkdir -p ~/Documents/MarkdownNotes
    cd ~/Documents/MarkdownNotes
else
    F="$1"
fi

touch "$F"

gedit "$F" &amp;

echo 
echo Uses: https://github.com/commenthol/md-fileserver
echo 
echo URL to view the doc
echo
echo http://localhost:4000/`pwd`/$F
echo
echo http://localhost:4000/`pwd`/
echo
echo Settings
echo
echo http://localhost:4000/config
echo
echo Confluencer docs: https://www.npmjs.com/package/confluencer
echo
mdstart -c "$F"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #6A9955">#! /usr/bin/zsh</span></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Markdown editor setup using md-fileserver</span></span>
<span class="line"></span>
<span class="line"><span style="color: #C586C0">if</span><span style="color: #D4D4D4"> [&#91; -z </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$1</span><span style="color: #CE9178">&quot;</span><span style="color: #D4D4D4"> &#93;]; </span><span style="color: #C586C0">then</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #9CDCFE">F</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;Untitled-`</span><span style="color: #DCDCAA">date</span><span style="color: #CE9178"> +%Y-%m-%d`-</span><span style="color: #9CDCFE">$RANDOM</span><span style="color: #CE9178">.md&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #DCDCAA">mkdir</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-p</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">~/Documents/MarkdownNotes</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #DCDCAA">cd</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">~/Documents/MarkdownNotes</span></span>
<span class="line"><span style="color: #C586C0">else</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #9CDCFE">F</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$1</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"><span style="color: #C586C0">fi</span></span>
<span class="line"></span>
<span class="line"><span style="color: #DCDCAA">touch</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$F</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #DCDCAA">gedit</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$F</span><span style="color: #CE9178">&quot;</span><span style="color: #D4D4D4"> &amp;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Uses:</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">https://github.com/commenthol/md-fileserver</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">URL</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">to</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">view</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">the</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">doc</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">http://localhost:4000/`</span><span style="color: #DCDCAA">pwd</span><span style="color: #CE9178">`</span><span style="color: #DCDCAA">/$F</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">http://localhost:4000/`</span><span style="color: #DCDCAA">pwd</span><span style="color: #CE9178">`</span><span style="color: #DCDCAA">/</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Settings</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">http://localhost:4000/config</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Confluencer</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">docs:</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">https://www.npmjs.com/package/confluencer</span></span>
<span class="line"><span style="color: #DCDCAA">echo</span></span>
<span class="line"><span style="color: #DCDCAA">mdstart</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$F</span><span style="color: #CE9178">&quot;</span></span></code></pre></div>



<h2 class="wp-block-heading">I wrote this post in md-edit</h2>



<p class="wp-block-paragraph">You can usually copy-paste Markdown into WordPress, and it&#8217;ll automatically format it the same way. gedit is way faster than the WordPress block editor.</p>



<h1 class="wp-block-heading">Other Markdown Editors I like</h1>



<p class="wp-block-paragraph"><a href="https://obsidian.md/">Obsidian</a> &#8211; the best editor, is also a note-taker, outliner, and knowledge graph editor. Has great renaming UI (you can&#8217;t tell it&#8217;s there). An awesome tool for writing your LLM files.</p>



<p class="wp-block-paragraph"><a href="https://apps.gnome.org/Apostrophe/">Apostrophe</a> &#8211; the slickest one. A &#8220;no distraction&#8221; editor.</p>



<p class="wp-block-paragraph"><a href="https://cryptpad.fr/code/">Cryptpad.fr/code</a>&#8216;s code editor. A nice, no-install, encrypted solution.</p><p>The post <a href="https://riceball.com/2026/09/11/markdown-editors/">Markdown Editors</a> first appeared on <a href="https://riceball.com">🍙</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://riceball.com/2026/09/11/markdown-editors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
