0

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?

5
  • 1
    what did you try first?
    – Etienne
    Commented 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
    – JsWizard
    Commented 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. Commented 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!
    – user633440
    Commented 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" Commented Jul 6, 2021 at 15:44

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.