HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…
I really love Elm's way of writing html. It's like writing html without closing tags, just indentation.
Writing HTML by hand
41–50 of 76 posts
Re: Writing HTML by hand
#42HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…
but how do you do images or video, they need some extra magic work
but i'm not sure if i understand the question...
Re: Writing HTML by hand
#43Earlier quoted context omitted.
links are such a pain to write though. Probably the biggest annoyance when I write in raw html.
But is [abc]( http:// ...) any better? I can never remember which brackets to use, and I've been using Markdown for years now. I never have a problem remembering the HTML syntax.
https://mtsknn.fi/blog/how-to-remember-markdowns-link-syntax...
Think of it as a function call (mnemonically, it doesn't need to make sense conceptually).
Re: Writing HTML by hand
#44I can't see how anyone would prefer xml formatting to sexp for any significantly lengthy document. I made my own homage to sexpcode called lispmark, some of my friends find it better than markdown or html..
Re: Writing HTML by hand
#45I don't exactly write "HTML" by hand if by HTML one means (as seems to be implied in the article) long text documents with HTML tags in it. For that I use markdown because it's faster and much easier to read. But I do write HTML templates by hand when I code webapps; it's cleaner and more efficient than use some kind of library. I tend to use DIVs with custom data- attributes; I don't know if it's a good or bad pract…
>I also code SVGs by hand and it's surprisingly easy and straightforward; most (not all, but most) drawings can be approximated by combining elementary shapes (instead of paths). Interesting. Do you have any examples of thise approximations?
Re: Writing HTML by hand
#46For many purposes it is needlessly verbose to write html by hand. Thats why markdown became popular. But if more people do it and report their usage patterns one could maybe create a "super-markdown", i.e., the closest you could get to mapping html flexibility without the annoying XML verbosity.
Arguably, org-mode provides a "better markdown", but it's decidedly more niche.
Re: Writing HTML by hand
#47I like to use as many and tags as possible. Particularly for layouts. Sometimes, if I'm feeling frisky... gets invited to the party.
Re: Writing HTML by hand
#48Re: Writing HTML by hand
#49HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…
I really love Elm's way of writing html. It's like writing html without closing tags, just indentation.
DSL-wise, I've rather enjoyed Clojure's Hiccup [1].
Re: Writing HTML by hand
#50Advantages: - greater flexibility than with Markdown; - no need to decide between Markdown, ReStructuredText, Wiki markup, BBCode, etc;
Disadvantages: - writing closing tags is cumbersome;
The source code is here: https://github.com/ClickHouse/clickhouse-presentations Example: https://presentations.clickhouse.com/meetup74/ai/