Hacker News new | ask | show | jobs
by mrunseen 1905 days ago
Cool project! My only complain is it defaults font to Courier (monospaced) which is harder to read and takes more place. You might use ‘Georgia’ which is web safe and pretty legible. Or of course, Times New Roman (just like site on this post)

Please refer:

https://practicaltypography.com/monospaced-fonts.html

https://practicaltypography.com/body-text.html

1 comments

Since it is literally plain text (as opposed to HTML) it will default to the monospaced font set in your browser.
You're right, but I think this depends on the browser too. I actually pass a stylesheet in the HTTP response header to make text appear white on a black background. Firefox respects this, but Chrome doesn't (at least for plain text files):

  link: <https://txtify.it/dark.css>; rel="stylesheet"
Will have to test again when I get some time to see what the options are. Might be a bit of a hack as there really aren't any HTML elements to target, so it might be that Firefox applies the CSS after inserting the text into an HTML template.