Last active
December 2, 2022 13:54
-
-
Save kristofk/dfb13a7363f6ac85ddc3c71f56c713dd to your computer and use it in GitHub Desktop.
Html code that can be used to put highlighted Swift code into a Custom HTML Gutenberg block in Wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style>pre { background-color: #1a1a1a; border: 0px solid #ccc; padding: 0px; margin-bottom: 0px; } pre code { display: block; color: #a9bcbc; line-height: 1.4em; font-size: 0.95em; white-space: pre; } pre code .keyword { color: #e73289; } pre code .type { color: #8281ca; } pre code .call { color: #348fe5; } pre code .property { color: #21ab9d; } pre code .number { color: #db6f57; } pre code .string { color: #fa641e; } pre code .comment { color: #6b8a94; } pre code .dotAccess { color: #92b300; } .box { padding: 20px; margin: 0 auto; display: block; border-radius: 8px; background-color: #1a1a1a; border: 0px solid #ccc; } </style> | |
<!--Generate code at: https://splash.rambo.codes/ and then COPY HTML--> | |
<section class="box"><pre><code><!--Paste the generated code after this--><!--Paste the generated code before this--></code></pre></section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.