News for hackers. Stuff that matters.
Re:Ask HN: What's the easiest way to write a blog without de... by alok-g on Tuesday July 09, 2019 @09:36AM (#20391558)
This is awesome!

Are all commom programming languages with syntax highlighting if execution within the browser is not required? Can the syntax highlighting in that case be static (precomputed, without requiring Js)?

Are charting libraries included by default?

Re:Ask HN: What's the easiest way to write a blog without de... by billconan on Tuesday July 09, 2019 @12:12PM (#20393307)
yes, I think the syntax highlighting covers a great range of languages (185 languages according to https://highlightjs.org/static/demo/)

No, highlighting can't be static I'm afraid for now. The back-end saves the articles in markdown. This allows users to preserve their editing history. I even implemented github like pullrequest and forking, so you could collaborate with others on blog articles.

https://epiphany.pub/commit?postId=2684bc94f9fcb9ffe637ebfbe...

server side rendering is possible, but it's a bit too much for me. this is still a solo side project. I'd like to make it a startup, but I really need some initial users and feedback to get some confidence.

Re:Ask HN: What's the easiest way to write a blog without de... by billconan on Tuesday July 09, 2019 @12:13PM (#20393314)
btw, my eventual goal is a language agnostic platform. so js and python is just a start. next, I would like to on board c++.