Conversation
mk
left a comment
There was a problem hiding this comment.
Not sure about needing more changes in parser.
|
@mk I considered doing this, but the reason I didn't proceed, was that "dissoc option from empty-doc to disable option" was a contract from the beginning. Killing that contract will be a breaking change. |
markdown/src/nextjournal/markdown/impl.clj Lines 286 to 288 in 6c0df00 I should've checked only for essential document keys and not count the implicit option keys since those can be dissoc-ed.
We can also say: screw all of the above backward compatibility changes and we just put a big |
I'm all for that. Did we find usages of customization of the emoji/id extractor? |
This is now fixed in PR #62 |
I'd say no: https://github.com/search?q=%22text-%3Eid%2Bemoji-fn%22&type=code |
Since this wasn't documented, I'd be surprised if folks are using this already. I'd vote for making the api better long term and go ahead with this minor breaking change. |
Fair point |
No description provided.