3 ms·
I like to write text-files whose content is wrapped into <pre> -tag. After the pre-section I add: <style> pre { font-family: Verdana; } </style> Pre looks gr
by galaxyLogic 5y ago
I like to write text-files whose content is wrapped into <pre> -tag.
After the pre-section I add:
<style>
pre
{ font-family: Verdana;
}
</style>
Pre looks great in Verdana, in the default font not so great.
You might choose to add the style-definition inline into the pre-tag directly. But I like a very simple start for my text-files which is just the <pre> opening tag.
You can wrap parts of the content into other tags like <h2> for headers.