Skip to content

Commit

Permalink
generate heading id
Browse files Browse the repository at this point in the history
  • Loading branch information
sangwoo-joh committed Feb 1, 2023
1 parent 0bbf76e commit 6e59204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"
gem 'org-ruby' , '>= 0.9.12'
gem 'org-ruby', git: 'git://github.com/sangwoo-joh/org-ruby.git', branch: 'generate-heading-id'
gem 'jekyll', '>= 3.5.0'
gem 'json', github: 'flori/json', branch: 'v1.8'

Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-org/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def liquid_enabled?(parser)

# see https://github.com/bdewey/org-ruby/blob/master/lib/org-ruby/parser.rb
def parser_options
org_config.fetch("parser_options", { markup_file: 'html.tags.yml' })
org_config.fetch("parser_options", { markup_file: 'html.tags.yml', generate_heading_id: true })
end

def assign_setting(key, value, settings)
Expand Down

0 comments on commit 6e59204

Please sign in to comment.