3 ms·
> I used to write on medium. The editor is the best. Nothing I've used is as good. What about a local code editor with live reloading on a local copy of your s
by nickjj 7y ago
> I used to write on medium. The editor is the best. Nothing I've used is as good.
What about a local code editor with live reloading on a local copy of your site running in a browser?
This is what I do in Jekyll. I write everything in the same code editor I wrote code in, and on save, I see a 100% replicated live view of my site in about 1 second (even with 200+ posts). Both windows sit side by side. To me this beats any alternative set up.
- dickeytk 7y agoIt’s good, still not as good as medium. Especially being able to copy and paste YouTube/gist/etc links in and have them auto-embed. I can still embed with Hugo, but not as quickly and this does impact my writing flow.
- nickjj 7y agoI can't speak for Hugo but with Jekyll, I solved this by writing a few line plugin. It still involves putting in a short custom tag (which I have as an editor snippet) and paste in the video ID. It's not as pleasant as pasting a URL in but it takes about 3 seconds to get it all set up when I want to embed a video. Very minimal impact IMO. If I had to embed hundreds of videos all the time I would probably just write a custom plugin that scans the file and converts Youtube URLs to embed snippets.