Markwon
Markwon copied to clipboard
Saving markdown after mutating task list
- Markwon version: v4.6.2
How can we save the markdown file after mutating task list using this sample code
Hello @damionx7 ,
markdown is parsed one-way, so after it is parsed the input is not longer referenced. So there is no way to rebuild raw markdown from the data displayed in a TextView. You could maintain own datastore for tasks and identify them by raw text. But this would mean that markdown is dynamically generated from this datastore, which might not be optimal
@noties Hi !Do you mean,I can not parse EditText.getText()to Markdown-Format String?The text style in EditText is formated by some Spanned.