Add a single thread for Pygments processing #1

Open
opened 2025-10-14 18:01:10 -06:00 by navan · 0 comments
Owner

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.

*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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/SwiftPygmentsPublishPlugin#1
No description provided.