Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify how plantuml injects itself in the kramdown process #106

Merged
merged 1 commit into from
Jul 19, 2022

Commits on Jun 30, 2022

  1. modify how plantuml injects itself in the kramdown process

    This commit changes how the injection happens from plain monkey
    patching to using a module and prepending it into the class hierarchy.
    
    This technique fixes compatibility with middleman. Middleman creates
    a subclass of Kramdown::Converter::Html, and this was making the
    method-overriding technique fail, while this one works.
    
    To use in middleman, just require "kramdown-plantuml" in config.rb
    doudou committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    6e17c92 View commit details
    Browse the repository at this point in the history