phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

834
active users

Hey, @colinodell: I've used a partial in my Markdown for the last year.

I inject the HTML as a preprocessing step before handing it over to League .

A pattern contains a key. Check the user dict of class names. If the key exists, invoke the class.

I'm debating building a CommonMark extension, not part of the core.

I don't think the extension would cause a issue since it's a facilitator, not a processor. Curious about your thoughts and a second pair of eyes.

Josh Bruce

I'm sure some of this is due to the "new shoes" problem, but I think incorporating the partials logic directly into is actually a performance improvement: joshbruce.com/essays-and-edito

I didn't run a profile before the change, but I did run the same set I used in 2022, and it at least didn't slow down: joshbruce.com/experiences/soft

Good times and I added partials to the fluent common mark library:

packagist.org/packages/8fold/c

packagist.org/packages/8fold/c

Cheers

joshbruce.comAction loop | Essays and editorials | Josh Bruceʼs personal site