Skip to content

Commit

Permalink
Merge pull request #85 from durd07/main
Browse files Browse the repository at this point in the history
Support PlantUML diagrams in _posts
  • Loading branch information
asbjornu authored Nov 19, 2021
2 parents 5b73a67 + 17573cb commit 4d8191a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/kramdown-plantuml/jekyll_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ def site_post_write(site)

processor.process(site.dest)
end

site.posts.each do |post|
processor = JekyllPageProcessor.new(post)

next unless processor.should_process?

processor.process(site.dest)
end
end

def load_jekyll
Expand Down

0 comments on commit 4d8191a

Please sign in to comment.