r/AskComputerScience • • Apr 01 '26

Does every markdown language have a specific styling counterpart?

I am trying to wrap my head around the topic of markup, and I understand that HTML is coupled with CSS, and XML with XSL. But is this coupling strict? Or can I use any stylesheet with any markup language? What about Markdown, I have never seen it used with a stylesheet before.

3 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Feeling_Lawyer491 Apr 01 '26

Didn't know that about JavaFX! So Markdown is sort of a shortcut to HTML, and XSL is more complex than I thought πŸ€” Thanks for the answer mate

2

u/iOSCaleb Apr 01 '26

Markdown is its own thing β€” a way of adding simple styling information to plain text. You can render a Markdown document in HTML, styled with CSS if you like. Or you can render it as a PDF, or import it into a word processing document, whatever. But it’s not merely a compact way to write HTML.