Method: ReverseAdoc::Config#initialize

Defined in:
lib/reverse_adoc/config.rb

#initializeConfig

Returns a new instance of Config.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/reverse_adoc/config.rb', line 8

def initialize
  @unknown_tags     = :pass_through
  @input_format     = :html
  @mathml2asciimath = false
  @external_images  = false

  # Destination to save file and images
  @destination      = nil

  # Source of HTML
  # @sourcedir        = nil

  # Image counter, assuming there are max 999 images
  @image_counter    = 1
  # pad with 0s
  @image_counter_pattern = '%03d'

  @em_delimiter     = '_'.freeze
  @strong_delimiter = '*'.freeze
  @inline_options   = {}
  @tag_border       = ' '.freeze
end