Skip to content

Commit

Permalink
Use kramdown GFM parser
Browse files Browse the repository at this point in the history
We're using options that are exclusive to that parser, so we should
explicitly force it.

Maybe middleman or kramdown could do better at validating options, but
I'm leaving it as is for now.
  • Loading branch information
deivid-rodriguez authored and simi committed Jan 20, 2025
1 parent 8cbfedd commit 0acdd67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem "middleman-syntax"
## Template engines
gem "builder"
gem "haml", "~> 6.3"
gem "kramdown"
gem "kramdown-parser-gfm"

# Rake tasks
gem "rake"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ DEPENDENCIES
haml (~> 6.3)
haml_lint (~> 0.59)
irb
kramdown
kramdown-parser-gfm
middleman!
middleman-blog!
middleman-search!
Expand Down
1 change: 1 addition & 0 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

# Markdown extentions
set :markdown,
input: "GFM",
autolink: true,
fenced_code_blocks: true,
footnotes: true,
Expand Down

0 comments on commit 0acdd67

Please sign in to comment.