Skip to content

Changing the default markup

Bart Kamphorst edited this page Jun 12, 2020 · 1 revision

Changing the default markup language for new pages

When no extension is given in the New Dialog (e.g., 'important birthday information'), gollum will use its default markup to guess which markup to use in the editor. This default is set to markdown. To change this default, for example to asciidoc, add the following line to your config.rb:

Precious::App.set(:default_markup, :asciidoc)