Serious suggestion - semantic HTML5 with the tags in a decent IDE. You may laugh but I am serious. Language has moved on and it has been moving on for as long as there has been recorded history. With HTML5 you get the extra markup for 'section', 'article', 'aside' and there are other semantic elements that already exist - 'em' is not the same as 'i', it infers emphasis rather than making the letters italic. See the e…
Best apps for writers
41–46 of 46 posts
Re: Best apps for writers
#42Serious suggestion - semantic HTML5 with the tags in a decent IDE. You may laugh but I am serious. Language has moved on and it has been moving on for as long as there has been recorded history. With HTML5 you get the extra markup for 'section', 'article', 'aside' and there are other semantic elements that already exist - 'em' is not the same as 'i', it infers emphasis rather than making the letters italic. See the e…
Re: Best apps for writers
#43Serious suggestion - semantic HTML5 with the tags in a decent IDE. You may laugh but I am serious. Language has moved on and it has been moving on for as long as there has been recorded history. With HTML5 you get the extra markup for 'section', 'article', 'aside' and there are other semantic elements that already exist - 'em' is not the same as 'i', it infers emphasis rather than making the letters italic. See the e…
Well you can't just leave us hanging, what is a good ide for authoring good semantic html5?
I don't need to use extensive facilities when writing HTML, the 'reformat code' button does come in handy and that is about it.
I think you get this in all IDEs. So my advice is to stick with what you know or go with VSCode. VSCode moght fall over with huge code bases but it 'War and Peace' is small compared to a codebase.
There is some vagueness about writing semantic HTML5, for instance, do articles go in sections or vice versa?
This does not help. I go with a main inside the body tag with that containing articles. Then in each article I put sections, asides and figures.
To keep my writing succinct I find that the html5 details/summary elements are really handy. You can write an article that has a paragraph of text and some bullet list of things then hide the waffle in a details/summary element rather than have it linked to on a separate page.
You can put sections, articles, more details/summary disclosure elements in a details/summary combo.
This is a world away from writing templates where everything is a div with classes and ids.
What I also recommend is a basic CSS stylesheet that loads a font with the font being variable width. Use that for the document, then use CSS grid to put some margins in so put header, footer, main in column 2 with the grid-template-columns set to something like 5vw 1fr 5vw. There is no need for 'reset.css' or other stuff, you have something pleasant to work with that can then be tinkered with over time, responsive out the box.
Re: Best apps for writers
#44Serious suggestion - semantic HTML5 with the tags in a decent IDE. You may laugh but I am serious. Language has moved on and it has been moving on for as long as there has been recorded history. With HTML5 you get the extra markup for 'section', 'article', 'aside' and there are other semantic elements that already exist - 'em' is not the same as 'i', it infers emphasis rather than making the letters italic. See the e…
Can you post an example?
https://www.maggie-shaw.co.uk/
If you go straight to 'view source' you can see what I have tried to do in constructing 'human editable' HTML. The 'sections' do not have 'titles' and could be divs as I just need some wrapper to get the full width banner images in the middle of each 'article'.
I had started this page with 'details/summary' disclosure elements but ended up mimicking that interface with the headers at the top of each 'article' and some scripting.
I also tried to use 'form' as a container for all calls to actions, even if this was not a real 'form', but just a way to show an image full screen.
I was trying to do a few new things so maybe the 'nav' container was what I needed. But I wanted buttons for accessibility. The burger menu should be a 'button' for accessibility too.
The code and use of elements on this page only has class attributes for things that change, not as general styling hooks. A lot is contrived and could be improved, but I think I got the general idea of 'separation of concerns'.
Re: Best apps for writers
#45Re: Best apps for writers
#46Earlier quoted context omitted.
Amen to that. I read a blog post somewhere (sorry, lost the reference) about a writer (non-programmer, mind you) who switched to Emacs for Org-Mode. Another extension that's great for writing/note taking is Deft [1]. Give it a directory (optional recursing) of .md, .txt, .org, etc. files, and it will let you filter through them instantly. I've been using this for a few years now and it's still my primary digital note…
Cool. I've heard of Deft, but haven't really tried it. Another great Emacs extension for writing is writeroom-mode: https://github.com/joostkremers/writeroom-mode