Earlier quoted context omitted.
You're right. We chose not to allow hand-wrapped paragraphs because the newlines have no effect on the resulting rendered HTML. In some cases, it will allow newlines (lists, blockquotes).
It would be great to autoindent next line when writing code blocks (that start with 4 space, for example).
Show HN: Writebin, an inline markdown editor
21–30 of 50 posts
Re: Show HN: Writebin, an inline markdown editor
#22You might want to be careful about security. Here's a harmless (at the time of writing!) XSS vulnerability: http://writebin.io/d/GTFx9CxV ← that there is an example of the sort of security hole (XSS) this has. Remember: Markdown is by default a *horribly* insecure format.
Re: Show HN: Writebin, an inline markdown editor
#23You might want to be careful about security. Here's a harmless (at the time of writing!) XSS vulnerability: http://writebin.io/d/GTFx9CxV ← that there is an example of the sort of security hole (XSS) this has. Remember: Markdown is by default a *horribly* insecure format.
Re: Show HN: Writebin, an inline markdown editor
#24 ReferenceError: _Logger is not defined toolbar.js:1
TypeError: ToolbarView is not a function app.js:1Re: Show HN: Writebin, an inline markdown editor
#25Re: Show HN: Writebin, an inline markdown editor
#26This looks really great, and I had fun playing around with it. One small thing that stuck out: there isn't any way to make a newline. You have to make an entirely new comment. Or is there some shortcut key I'm missing? On a lot of text editors, it's Shift + Enter.
You're right. We chose not to allow hand-wrapped paragraphs because the newlines have no effect on the resulting rendered HTML. In some cases, it will allow newlines (lists, blockquotes).
It also breaks trying to type out quotes and nested quotes.
Re: Show HN: Writebin, an inline markdown editor
#27This looks really great, and I had fun playing around with it. One small thing that stuck out: there isn't any way to make a newline. You have to make an entirely new comment. Or is there some shortcut key I'm missing? On a lot of text editors, it's Shift + Enter.
You're right. We chose not to allow hand-wrapped paragraphs because the newlines have no effect on the resulting rendered HTML. In some cases, it will allow newlines (lists, blockquotes).
Re: Show HN: Writebin, an inline markdown editor
#28You might want to be careful about security. Here's a harmless (at the time of writing!) XSS vulnerability: http://writebin.io/d/GTFx9CxV ← that there is an example of the sort of security hole (XSS) this has. Remember: Markdown is by default a *horribly* insecure format.
Thanks for pointing this out. Haven't had much time to consider things like this yet.
Re: Show HN: Writebin, an inline markdown editor
#29Otherwise it is very useful. I would love to use something like it for my own projects.
Re: Show HN: Writebin, an inline markdown editor
#30You might want to be careful about security. Here's a harmless (at the time of writing!) XSS vulnerability: http://writebin.io/d/GTFx9CxV ← that there is an example of the sort of security hole (XSS) this has. Remember: Markdown is by default a *horribly* insecure format.
Gruber's decision to include html in the markdown "spec" has always perplexed me.