Skip to content

WIP - pelican-import: Support the SyntaxHighlighter plugin.#3607

Draft
stuaxo wants to merge 1 commit into
getpelican:mainfrom
stuaxo:feat/wp-syntax-highlighter-support
Draft

WIP - pelican-import: Support the SyntaxHighlighter plugin.#3607
stuaxo wants to merge 1 commit into
getpelican:mainfrom
stuaxo:feat/wp-syntax-highlighter-support

Conversation

@stuaxo

@stuaxo stuaxo commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Support the SyntaxHighlighter plugin.

This was the default syntax highlighter in wordpress for about 10 years.

Currently only supports markdown output, this looks for output like:

``` brush: python

And coverts it to:

```python

For my personal blog this is enough to have sane output for all the included source code from the site.

Currently only supports markdown at the moment - I'm not quite sure the best way for this to support .rst as well (not sure what these look like going through .rst)

Pull Request Checklist

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools
  • Added tests for changed code
  • Updated documentation for changed code

@stuaxo
stuaxo force-pushed the feat/wp-syntax-highlighter-support branch from 1a1a453 to 61fede2 Compare June 11, 2026 17:03
@stuaxo stuaxo changed the title pelican-import: Support the SyntaxHighlighter plugin. WIP - pelican-import: Support the SyntaxHighlighter plugin. Jun 11, 2026
@stuaxo
stuaxo marked this pull request as draft June 11, 2026 17:12
This was the default for about 10 years.
@stuaxo
stuaxo force-pushed the feat/wp-syntax-highlighter-support branch from 61fede2 to 58a7336 Compare June 12, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant