Skip to content

Commit

Permalink
resolves #4594 remove argument from extension registration block in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 22, 2024
1 parent b08d2b0 commit b7fde06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/modules/extensions/pages/register.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ These extensions are registered per document using a callback that feels like a

[,ruby]
----
Asciidoctor::Extensions.register do |document|
Asciidoctor::Extensions.register do
preprocessor FrontMatterPreprocessor
tree_processor ShellSessionTreeProcessor
postprocessor CopyrightFooterPostprocessor
docinfo_processor TrackingCodeDocinfoProcessor if document.basebackend? 'html'
docinfo_processor TrackingCodeDocinfoProcessor if @document.basebackend? 'html'
block ShoutBlock
block_macro GistBlockMacro if document.basebackend? 'html'
block_macro GistBlockMacro if @document.basebackend? 'html'
inline_macro ManInlineMacro
include_processor UriIncludeProcessor
end
Expand Down

0 comments on commit b7fde06

Please sign in to comment.