Sébastien ALEXANDRE

Results 7 comments of Sébastien ALEXANDRE

Wait, I just thought that footnotes could serve as permalinks. So they shouldn't have to be unique (as PHP `uniq` built-in function) at each Parsedown-extra parsing. I will think about...

My bad. I was thinking of a blog architecture where posts are ordered by descending date. The `fn1:1` would target the first foot note of the first post. However, when...

I think the fix made by @robinadr (a234bbeb4d25fe9bb6d40ceb3df0945f981636f7) is a good answer to this probleme. Could it be merged with parsedown-extra in order to get the update from Composer ?

It would be weird to use twice a same ID (or prefix, as you want) : - There is no reason to parse twice the same text - Parsing various...

You are right, both generic and custom prefix should be implemented. Here are the behaviors I suggest : ``` ``` Keeping generic prefix in memory for all the Parsedown instances...

My bad, I didn't read correctly your previous comment. So let's take care of this part only : ``` $selfReset = true; $parsedown->setFootnotePrefix('abcd1234', $selfReset); $parsedown->text('...'); # abcd1234 # if $selfReset...

I just agree with your philosophy. I apologize if my samples wasn't looking that way. Thanks a lot for you work !