Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
farism committed Sep 27, 2023
1 parent 2bc9cab commit 6ae91e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/documentation_generator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ module Mint
def write_assets
Assets.files
.select(&.path.includes?("/docs-html/"))
.each{|file|
.each { |file|
content = file.gets_to_end
if file.path.includes?("fonts.css")
content = content.gsub(/\{base_url\}/, @base)
Expand Down Expand Up @@ -203,7 +203,7 @@ module Mint
rescue
"# Could not find a #{path} file"
end

markdown = Markd.to_html(content)

highlight_markdown(markdown)
Expand Down

0 comments on commit 6ae91e5

Please sign in to comment.