Show HN: Devpen – Markdown Editor with GitHub Style
devpen.io
devpen.io
A lot of web based Markdown editors let you save to and import from Google Drive, but I don’t want yet another system to manage files with.
That’s not a technical problem.
It’s a market problem, I nicknamed the “pay or pray dilemma of free software”.
To solve your problem you either:
Pay someone to build a solution on top of Google’s interfaces (Drive API/Chrome extension etc.)
- or -
Pray for Google to provide desired functionality. (Or alternatively for some indi developer to provide said functionality for no rational reason other than their own interest in the problem).
The odds of success are not evenly distributed between the two options.
It's true that to have a thing, you either have to pay for it or pray for it, or make it onesself.
But before any of that, comes discussion if what would even be a good idea or not. Why does it bother you so much that people talk about what they would like?
Some developers actually want users to discuss what they would like, in order to know what to take a chance on building.
Also, it's a perfectly "rational reason" to build something to provide to the world, when you realize just how much you benefit from the world of things other people have built and given away already.
In fact, what is not very rational, is advertising that you don't consider it rational to contribute to community efforts.
That was an observation.
And specifically you are reading the term “no x other than y” wrong.
It actually means x is an attribute of y, or a group, and y is of importance. As in “no player other than LeBron”
It was used in this context in a way similar to “We should send humans to Mars for no rational reason other than to prove that it is technically possible”.
Thus, this comment has no rational reason other than to set the record straight.
It would be especially nice because that way the doc could still use all the cool collaboration features.
- [ ] foo
- [ ] bar
It's my favorite thing about github style markdown. I doubt you need more ideas for your todo pile, but there's one for you.Additionally, it has a dark mode as well.
Imagine that you guys want to write documentation for your project by writing Markdown in Readme.md, to be published on GitHub later.
I'm an Android Dev, and I use a plugin to preview my Readme in Android Studio. And sometimes, I use other online Markdown editor, by doing live editing there. Problem solved, at least for now.
What I've found so far is that those solutions give me different style. And the problem usually arises after that. Sometimes, after updating the Readme.md file and push it to GitHub, there are some parts that are not suitable. Something like, H1 is too bigger for this section, or link is not shown well there, etc.
Devpen is an online tool to solve that problem.
You are correct about the incompatible markdown styles on the Internet.
As a side note, it looks like <img>'s aren't working - try adding something like this:
<img src="https://www.google.ca/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" />
Making images format correctly in GitHub READMEs has always been a bit of a pain point for me, so this would be a nice feature to have.I realize that feature alone might be costly to build. You'd need somewhere to upload images to, maybe an S3 bucket, and maybe add a CDN, etc. Then you have to deal with abuse/have code to prevent infinitely large uploads, etc. It's not an easy feature, but thought I'd point it out as a potential thing to build. :)
It’s also somewhat open source (community edition is AGPL). You can host it behind a vpn for internal use.
Admittedly they’re not the most secure editor - e.g. image uploads are technically publicly accessible. Though supposedly there’s an enterprise version coming out with those features at some...point.
Disclaimer: I don’t work with these guys. Just a fanboy at this point. :)
It’s interesting that such a simple need (editing a readme) is so not trivial.
Anyway, I built a similar tool once, with the github style sheet but with “in place editing” rather than side-by-side (and some other “experimental features”).
You can make a doc using this link if you want to try: http://public.docs.xstatic.site.s3-website-us-west-1.amazona...
https://support.typora.io/Add-Custom-CSS/
EDIT: maybe the existing theme does the trick (I don't use that theme):
> {current-theme}.user.css under theme folder. If you choose Github as your theme, then github.user.css will also be loaded.
This would be annoying and potentially impossible to get working, depending on GitHub, but it would be neat if you could point this at the URL for a markdown file on GitHub and it would open it up for editing and a PR.
It would be especially useful if Devpen passed through the small amount of HTML that GitHub allows, such as `<p align="center">`.
But that's okay, I've updated Devpen so that FontAwesome icons are now handled properly. Thanks for the report :)
It's such a nice feature.
This looks nice too, but it's just a limited appeal. Editors are way more intelligent then I ever thought they could get.