Uncodin / bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.
http://uncodin.github.com/bypass/
Apache License 2.0
1.51k stars 193 forks source link

Markdown Editor #113

Closed jasonsilberman closed 6 years ago

jasonsilberman commented 11 years ago

Can I have it so it will compile the markdown in an editable uitextview actively (live)?

heydamianc commented 11 years ago

Currently there is not. We (Uncodin) have talked about this feature, and we like the idea of it, however we haven't quite nailed down the implementation details.

Currently, we maintain an intermediary tree structure (BPDocument) to convert from the textual Markdown representation to an NSAttributed string. It buys us much flexibility in the presentation of the Markdown, but to make an editor would involve either going the other direction (NSAttributedStringBPDocument), and then serializing it as Markdown.

Can you explain in more detail some of your use cases so, we can get a general understanding of what features you'd like?

jasonsilberman commented 11 years ago

I would like to be able to just have a uitextfield and on the value change create a NSAttributedString and then have that be the value of the uitextfield.

Have you used the app Mou?

it looks like this: Screen Shot 2013-03-23 at 12 47 43 PM

see how on the left it still has the ` and the * and the # tags but the text looks different. How would I do this?

heydamianc commented 11 years ago

Thanks for the screenshot. It's always good to put a picture to an idea of possible. I have used Mou before, and this was essentially what I had in mind as well.

I've marked this as an enhancement, but I think this is a really good feature to have.

Thanks again for your feedback!

jasonsilberman commented 11 years ago

mmk cool