getMarkupLabel

Type: Function

How to get getMarkupLabel?

JavaScript

import getMarkupLabel from 'fontoxml-markup-documentation/src/getMarkupLabel.js'

Get the configured markup label for the given node

Arguments

  1. node

    (Required)

    Type: Node

    A node from which to get the markup label

  2. metadata

    (Optional)

    Type: Object

    The metadata from which to get the markup label. This will be retrieved if absent

  3. blueprint

    (Optional)

    Type: Blueprint

    The blueprint. Always try to pass one if you have one

Returns

Type: String

The markup label for the given node