tomdoc
This commit is contained in:
@@ -66,10 +66,14 @@ module Gollum
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Gets the default markup class used by all instances of this Wiki.
|
||||||
|
# Kept for backwards compatibility until Gollum v2.x
|
||||||
def markup_class
|
def markup_class
|
||||||
markup_classes[:default]
|
markup_classes[:default]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Sets the default markup class used by all instances of this Wiki.
|
||||||
|
# Kept for backwards compatibility until Gollum v2.x
|
||||||
def markup_class=(default)
|
def markup_class=(default)
|
||||||
new_classes = Hash.new default
|
new_classes = Hash.new default
|
||||||
@markup_classes = Hash.new(default).update(markup_classes)
|
@markup_classes = Hash.new(default).update(markup_classes)
|
||||||
|
|||||||
Reference in New Issue
Block a user