Re:Tell HN: Google drops blogspot.in, breaking hundreds of t...
by chubs on Wednesday July 08, 2020 @06:45AM
(#23768651)
Yes, my app would be a lot like Zettlr but tailored specifically to blogging, with the publishing built-in; it appears to me that Zettlr is more a generic .md editor.
FWIW: my app isn't Electron, it'd be native macOS, that's just my skillset. Maybe i should just use Electron so it could run on windows/linux to be honest.
Yes, the plan would be for the blogger to get their own domain. Bloggers generally already do that when setting up with Wordpress so i don't think that's a problem.
Re:Tell HN: Google drops blogspot.in, breaking hundreds of t...
by fsflyer on Wednesday July 08, 2020 @01:35PM
(#23772144)
Hugo 0.62 added Markdown rendering hooks so you can do custom processing of a standard markdown image. I was able to use this to get rid of my <figure> shortcodes. The render hook generates the figure tag and also uses Hugo image processing to generate multiple image sizes for srcset.
This way I'm able to keep the markdown completely standard which makes it easier to move to a new platform in the future.
The idea would be: it would read the Markdown as I write it, let Hugo render it, and return the HTML to be rendered in the editor window.
Looking at your editor, it really looks like Zettlr (I'm guessing they're both Electron apps).
I guess you have 2 almost separate problems: the editor and the hosting. On the topic of hosting, I guess if a "blogger" can get his own domain name, the actual infrastructure can be swapped under it (and the data republished from the local machine), as long as the reader can load the blog using the known URL, it's fine.