Things I have tried
Hello. Hope you are having a great day. I just wrote a piece of code to make add Gradients to my heading. here is the code
.markdown-preview-view h1, .cm-header-1 {
font-weight: 700;
background: -webkit-linear-gradient(40deg, #209cff, #68e0cf)
!important; -webkit-background-clip: text
!important; -webkit-text-fill-color: transparent
!important}
What I’m trying to do
But this code is only working inside editing mode. can someone please help me how can I get this gradient look in both editing and reading mode at the same time?