-
I'd love to be able to use your wonderful markdown style, and your code-block style in general, for my project's documentation. I'm especially interested in the PR code diffing. They look great. I can't find where the code lives that generates the code blocks. For example I cannot find where the following comes from: <td class="blob-code blob-code-addition">
<span class="blob-code-inner blob-code-marker-addition">
</span>
</td> I tried searching for Any pointers to where that code lives? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Markdown styles are available by wrapping markdown in a
Unfortunately these Not sure if/when it will be available? That code is quite old and might be hard to extract. You might could try to "reverse engineer" it by grabbing the styles from the inspector. |
Beta Was this translation helpful? Give feedback.
Markdown styles are available by wrapping markdown in a
markdown-body
class.Unfortunately these
blob-code
diff styles don't exist in Primer CSS and are some custom internal styles.Not sure if/when it will be available? That code is quite old and might be hard to extract. You might could try to "reverse engineer" it by grabbing the styles from the inspector.