• Set the markdown header level.

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • level: number

      The header level.

    • Optional translator: ITranslator

      The application translator.

      Notes

      All selected cells will be switched to markdown. The level will be clamped between 1 and 6. If there is an existing header, it will be replaced. There will always be one blank space after the header. The cells will be unrendered.

    Returns void