Closed pavlenex closed 1 year ago
Code highlighting can be enabled by adding a language after the markdown triple backticks - https://prismjs.com/#supported-languages
I only see code snippets in your recent PR - https://github.com/stratum-mining/stratumprotocol.org/pull/142
@pavlenex any assistance required on this one? or is it gonna covered in one of your open PRs?
@Abhijay007 I just got help from @dennisreimann on this one ,he suggested this, which I'll now add in my PR #142
code {
font-size: .9em;
background-color: #282c34;
padding: .2em .4em;
border-radius: .5em;
}
Currently code is not rendered properly.
Preview
We have to add that so that code tutorials visibility is better. Good example is what LDK does or what BTCPay Server does