mirror of
https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git
synced 2026-04-03 00:28:29 -06:00
Add a single thread for Pygments processing #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jkubicek on 2/2/2023
Pygments (or PythonKit, not sure which) doesn't do well with the multi-threaded piplines Publish uses to parse Markdown files. I've added a global Actor to disable concurrent syntax highlighting, and forced Publish to access this actor sequentially.