dwp-forge / refnotes

4 stars 6 forks source link

Version 2021-05-10 changes render style from Harvard to basic, when using namespace merging #67

Closed quarterwave closed 3 years ago

quarterwave commented 3 years ago

On DokuWiki "Hogfather" and refnotes 2021-05-10.

  1. Given page content:
====== Playground ======

Lorem ipsum dolor sit amet, consectetuer adipiscing elit [(:book:smith>> page:1)]

[(:book:smith>>
author: Smith, Peter
year  : 1234
title : Lorem ipsum dolor sit amet
)]

~~REFNOTES :book: ~~
  1. Settings for the namespace :book: set to:
  1. Then merging the root namespace with the book namespace by making the following modification:

~~REFNOTES :book: ~~ ~~REFNOTES : :book: ~~

  1. Will change the rendering style from Harvard style to basic style:

image image

dwp-forge commented 3 years ago

From the documentation:

By default all notes and references from both namespaces will be rendered using style of the first one. You can override this behavior by explicitly inheriting specific style.

If you want to apply Harvard style to the merged notes block you can either change the order:

~~REFNOTES :book: : ~~

or specify the style explicitly:

<refnotes : :book:> inherit: harvard </refnotes>