blob: ef6f0fb46ad955a545bf34aff122078ae7918e4f [file] [log] [blame]
# Copyright 2016-2023 The Khronos Group Inc.
#
# SPDX-License-Identifier: Apache-2.0
#require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
RUBY_ENGINE == 'opal' ? (require 'katex_replace/extension') : (require_relative 'katex_replace/extension')
# All the inline macros we need
Asciidoctor::Extensions.register do
postprocessor ReplaceMathjaxWithKatex
end