News for hackers. Stuff that matters.
Re:Show HN: Writebin, an inline markdown editor by daGrevis on Saturday February 15, 2014 @05:39AM (#7243367)
This is really cool and I'm really a big supporter for this type of editors!

Some suggestions:

* There should be an option “demo page“,

* Paragraphs should be drag-n-droppable,

* Arrow keys should take me to the previous/next paragraph,

* There should be “a plus icon“ above and below each paragraph,

* Inline editor should contain buttons for “bold“, “italic“ etc..,

* Pressing “the bold button“ when there's a highlighted word should wrap it in two stars etc.;

Is the thing open-sourced? I would like to help improve it and use it in my blog for writing things.

Re:Show HN: Writebin, an inline markdown editor by roryokane on Saturday February 15, 2014 @10:28AM (#7244026)
The buttons for surrounding text with one or two asterisks/underscores should not be “bold” and “italic”, but rather “strong” and “emphasized”. Those are the HTML tags they generate, which need not look bold and italic. To generate actual <b> and <i> HTML tags in Markdown, you have to write them inline; there is no syntax shortcut.

Also, to add on to your suggestion that buttons should interact with highlighted words, the link-making button that already exists should also wrap a highlighted word with the link instead of overwriting it. For example, if “here” is highlighted, clicking the button should replace it with “[here](|)”, where ‘|’ is the cursor.

Re:Show HN: Writebin, an inline markdown editor by thauburger on Saturday February 15, 2014 @11:40AM (#7244255)
Great point regarding link insertion. We'll definitely add that to our todos. Thanks!
Re:Show HN: Writebin, an inline markdown editor by thauburger on Saturday February 15, 2014 @11:39AM (#7244250)
@daGrevis thanks for the kind words and feature suggestions. Based on the feedback, it looks like we'll be focusing on better inline navigation support very soon. We haven't talked about the open source route, as we wanted to get a base editor up and running first. We'd love for you to beta test though, as blogging is definitely a use case we'd love to make better.