News for hackers. Stuff that matters.
Re:Launch HN: Onedoc (YC W24) – A better way to create PDFs by cratermoon on Monday March 11, 2024 @12:17PM (#39670037)
The problem with using Tailwind is that I can't just say <h1>Some Heading</h1>. As noted in the Tailwind documents "All heading elements are completely unstyled by default, and have the same font-size and font-weight as normal text."[1]

Most of the time when I'm writing HTML I want a set of default styles for the most common elements, It's tedious and error-prone to have to specify a class every single time.

1 https://tailwindcss.com/docs/preflight

Re:Launch HN: Onedoc (YC W24) – A better way to create PDFs by Titou325 on Monday March 11, 2024 @12:23PM (#39670147)
Makes total sense. There is no real requirement to use Tailwind to create the PDFs, we just have grown accustomed to Tailwind :) If you don't use the <Tailwind> tag, the browser defaults are used to generate the PDF.