Method: Metanorma::Compile#validate_format

Defined in:
lib/metanorma/compile.rb

#validate_format(options) ⇒ Object



83
84
85
86
87
88
89
# File 'lib/metanorma/compile.rb', line 83

def validate_format(options)
  unless options[:format] == :asciidoc
    Util.log("[metanorma] Error: Only source file format currently supported is 'asciidoc'.", :error)
    return false
  end
  true
end