You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #23, I took another approach, instead to remove extra options. I patched it on the fly in config.rb:
class ::PandocRubymoduleOptionPatchOPT_REMOVE_LIST=[:outvar,:context]# opts passed in. Recursively calls itself in order to handle hash options.defprepare_options(opts=[])opts.inject('')do |string,(option,value)|
string + ifvaluecreate_option(option,value)elsifoption.respond_to?(:each_pair)option=filter_option_hash(option)prepare_options(option)elsecreate_option(option)endendenddeffilter_option_hash(hash)hash.rejectdo |k,v|
OPT_REMOVE_LIST.include?(k)endendendendPandocRuby.prependPandocRuby::OptionPatch
The text was updated successfully, but these errors were encountered:
Related to #23, I took another approach, instead to remove extra options. I patched it on the fly in config.rb:
The text was updated successfully, but these errors were encountered: