Method: Commonmarker::Config.process_plugins

Defined in:
lib/commonmarker/config.rb

.process_plugins(plugins) ⇒ Object

[View source]

72
73
74
75
76
# File 'lib/commonmarker/config.rb', line 72

def process_plugins(plugins)
  {
    syntax_highlighter: process_syntax_highlighter_plugin(plugins&.fetch(:syntax_highlighter, nil)),
  }
end