I am making an HTML page using Tailwind CSS and want to add (python) code snippets to it. is there a way to do it?
-
1what did you try first?– EtienneCommented Jul 1, 2021 at 15:43
-
You can express any of code formats by Markdown editor in your HTML code. And if you want to make with Python, then this package is a bit popular. check this pypi.org/project/Markdown– JsWizardCommented Jul 1, 2021 at 17:04
-
@Etienne I tried adding my code (to HTML) using the <code> tags but they don't work like usual thanks to Tailwind CSS.– Siddhesh AgarwalCommented Jul 2, 2021 at 3:42
-
Please edit to add meaningful code and a problem description here. Posting a Minimal, Complete, Verifiable Example that demonstrates your problem would help you get better answers. Thanks!– user633440Commented Jul 5, 2021 at 0:08
-
@KarlHill I want to know if there is any way to add python code snippets to a HTML page. That's it. I don't see the point of adding a "Minimal, Complete, Verifiable Example"– Siddhesh AgarwalCommented Jul 6, 2021 at 15:44
Add a comment
|