Synhigh Code Highlighter

Language from a class:

def greet(name: str) -> str:
    # say hello
    return f"Hello, {name}!"

No class, so the language is detected automatically:

#include <stdio.h>
int main(void) {
    printf("hi %d\n", 42);
    return 0;
}

Mixed HTML with embedded CSS and JS:

<style>
	.btn { 
		color: #fff; 
	}
</style>
<button class="btn" id="go">Go</button>
<script>
  document.getElementById("go").onclick = () => console.log("clicked");
</script>

Created by ❤️ and 🍵
Raymond Baghumian