Skip to content

Expose a post-process hook for snippets #2726

@luepges

Description

@luepges

Description

In a project, I replace links to source files with links to their documentation (and some fancy icons) using the snippets extension.

Right now, I have to copy the entire parse_snippets method (~150 lines) to be able to post-process snippets.

(While I do like your code, blatantly copying it to override the method feels redundant :) )

Benefits

Other developers can also extend the snippet preprocessor.

Solution Idea

Expose a hook method in the SnippetPreprocessor class (see )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions