Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Setting level for md-header does not work  #45

Closed
@Arxero

Description

@Arxero

Hello I am looking at this line

const level = parseInt(this.getAttribute('level') || '3', 10)

and
const prefix = `${'#'.repeat(level)} `

and I do it like that in my code

<md-header [attr.level]="1"><gw-toolbar-button [button]="btnType.Header"></gw-toolbar-button></md-header>

but it still gives me 3 signs of # like ### is there some bug or I am doing it wrong? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions