Type: Function

How to get configureAsConref?


import configureAsConref from 'fontoxml-dita/src/configureAsConref.js'

Configure nodes matching the given selector to work as a dita conrefs. A single call to this function configures both block and inline conrefs.

Automatically uses the DitaConrefReferencePopover.

Use the conrefs-use-permanent-references configuration variable to define whether the value of the conref attribute is a permanent reference which should be resolved.


  1. sxModule


    Type: SxModule

  2. selector


    Type: XPathTest

    The @conref attribute selector part is automatically added.

  3. markupLabel


    Type: String

  4. options