Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Threw this together to preview markdown HTML elements - posted here in case it saves anybody some time:

http://pencil.asleepysamurai.com/hag56udxkx#p

If someone edits it I suppose it'll no longer be there, but so be it!



Actually, that makes me think - a feature suggestion if possible, would be to "lock" a markdown file to editing (only Preview mode available), and require a password to edit.

This would make the app super useful for a quick-and-nasty publishing solution (similar to gist or pastebin, but also for random thoughts). Good luck!


If you like gists, markdown, and quick-and-nasty publishing: http://gist.io/

I'd still prefer something like this for the actual drafting, of course.


I followed the link to try to edit it (I wasn't going to save it, I was just curious) and I have to say that on second use, I'm having trouble figuring out how to move from Preview mode to edit mode. Clicking outside the content area seems to move it into preview mode but then no matter what I try I can't get anything editable again.

Maybe its just my OS/browser combo or something. Maybe adding a few instructions somewhere would help.


Ctrl+p to move in and out of preview mode. Or click the empty margin to the right side of the text.


Right, I got the empty margin thing but it seems to behave pretty inconsistently for me. I'm using a pretty small screen. Maybe that's the deal? 11 inch Macbook Air. I don't know. Maybe it's probably one of those real isolated problems.


Inconsistent as in not changing modes when clicked or changing modes when clicked in places other than the margin?

I suspect it's the latter and I think I know why it's happening. Will fix soon.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: