mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 13:58:05 +00:00
23 lines
690 B
Ruby
23 lines
690 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'asciidoctor'
|
|
require 'asciidoctor/extensions'
|
|
require_relative 'man-inline-macro/extension'
|
|
require_relative 'swhid-inline-macro/extension'
|
|
require_relative 'github-link-inline-macro/extension'
|
|
require_relative 'github-raw-content-include-processor/extension'
|
|
require_relative 'gitlab-link-inline-macro/extension'
|
|
require_relative 'gitlab-raw-content-include-processor/extension'
|
|
|
|
Asciidoctor::Extensions.register do
|
|
inline_macro ManInlineMacro
|
|
|
|
inline_macro SWHInlineMacro
|
|
|
|
inline_macro GitHubLinkInlineMacro
|
|
include_processor GitHubRawIncludeProcessor
|
|
|
|
inline_macro GitLabLinkInlineMacro
|
|
include_processor GitLabRawIncludeProcessor
|
|
end
|