Skip to content

How do you rewrite a component? #1607

Answered by kermanx
filiphric asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think overriding h1 is possible... h1 is an intrinsic element rather than a component. You can wrap <h1> manually in every slide or use CSS only instead. Also you can use pre-parser to transform

# ABCD

into the following code:

<MyH1>

# ABCD

</MyH1>

...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@filiphric
Comment options

@kermanx
Comment options

kermanx May 24, 2024
Collaborator

Answer selected by filiphric
@filiphric
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants