Closed jasonsilberman closed 6 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 (NSAttributedString
→ BPDocument
), 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?
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:
see how on the left it still has the ` and the * and the # tags but the text looks different. How would I do this?
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!
mmk cool
Can I have it so it will compile the markdown in an editable uitextview actively (live)?