Searching txt.sour.is

Twts matching #HTML
Sort by: Newest, Oldest, Most Relevant

Cate Sayers scores win against former husband Luke to keep defamation case in public eye
Justice Andrew Watson ruled on Wednesday that moving the case out of the Supreme Court would potentially prevent public vindication for Cate Sayers if she were to win. ⌘ Read more

⤋ Read More

Man who sent card to Norwegian princess in custody after clashing with media
David James Cooke, 63, was on Wednesday banned from contacting Ingrid Alexandra or entering the University of Sydney – where she lives and studies – for two years. ⌘ Read more

⤋ Read More

Australia news LIVE: US-Iran peace talks at a stalemate as hostilities flare in Middle East; Solomon Islands PM arrives at Parliament House
Follow along as we bring you the latest live updates from Australia and beyond here on our national news blog. ⌘ Read more

⤋ Read More

Australia news LIVE: US-Iran peace talks at a stalemate as hostilities flare in Middle East; Solomon Islands PM arrives at Parliament House
Follow along as we bring you the latest live updates from Australia and beyond here on our national news blog. ⌘ Read more

⤋ Read More

Australia news LIVE: Senior ministers back AUKUS amid renewed scrutiny; Unions welcome minimum wage increase as business groups warn of high costs
Follow along as we bring you the latest live updates from Australia and beyond here on our national news blog. ⌘ Read more

⤋ Read More

Australia news LIVE: AI data centre boom could drive up electricity prices, climate advocates warn; Unions, government back minimum wage increase as business groups warn of high costs
Follow along as we bring you the latest live updates from Australia and beyond here on our national news b … ⌘ Read more

⤋ Read More
↳ In-reply-to » @movq It's the "Lyse types the entire HTML by hand" generator. Yes, no kidding. I write articles so rarely, that I can do that once in a while. It's fun to some degree, but also not.

Years ago, I used Kate, no, not somebody’s wife, but the KDE Advanced Text Editor, to export source code files and fragments into HTML with syntax highlighting. I think that’s where I got the initial <b> idea from. There were also bucketloads of <span style='color:#644a9b;'> all over the place, even inside <b>. No CSS classes defined upfront, all colors inlined. The final rendering in the browser looked great, but the source code ugly as hell in my opinion. However, I’m thankful for hinting me at <b>. I think this kicked off everything. :-)

⤋ Read More
↳ In-reply-to » @lyse By the way, which site generator are you using? I kind of miss having code blocks with syntax highlighting and that generic yellow highlighting thing is pretty cool, too.

@movq@www.uninformativ.de It’s the “Lyse types the entire HTML by hand” generator. Yes, no kidding. I write articles so rarely, that I can do that once in a while. It’s fun to some degree, but also not.

After some time, I finally recorded some Vim macros to insert <b>…</b>, <var>…</var>, <span class=s>…</span> etc. around the tokens. This helped a little bit. But I was still questioning my mental state doing it like that. I also had to fix a bunch of the end tags by hand, because the word movement wasn’t enough or the end movement went too far. Quite the annoying process for sure.

But I think the HTML looks a wee bit nicer and is maybe even semantically a little bit better than having only <span>s everywhere. I find the <span class="whatever"> just soo awfully long. Of course, I never look at the code again, but knowing, that e.g. there is a <b> and it saves so many bytes in comparison, makes me happy. It is a more elegant solution in my opinion. Not by much, but better nonetheless. It’s a matter of simplicity. Admittedly, even I can’t avoid the <span>s alltogether. Oh well. On the other hand, I’m sure that this does not make any difference whatsoever. I bet, nobody and nothing, like a screenreader, analyzes the HTML for that, where this would be truly useful.

Oh! Maybe text browsers, though. It just occurred to me while composing this reply. :-) Haha, I lost my bet quickly. w3m picks up at least the <b> for keywords and builtin types, <u> for filenames and <i> for comments. Yey. No different styles for <var> and <mark>, unfortunately. elinks only renders the bold. It’s cool that I had the right intuition right from the beginning, despite being unable to pinpoint it. :-)

All the <span> hell with common syntax highlighters is a downer for me that keeps me from looking more into them. If I wrote more articles, I might rig something up with Pygments. At least that’s somehow positively connotated in my brain. Not sure if it actually deserves it, but I dealt with that in some loose form (can’t even remember) years and years ago. Apparently, it wasn’t too terrible.

To prepare the table of contents, I used grep and sed with some manual intervention in the end. The entire process can be improved. Absolutely.

You wrote your own site generator, didn’t you?

⤋ Read More

The critical ingredients that give Dockers fans reason to dream
Dockers devotees have developed the sort of thick skin that only diehard followers of a trophy-less team can truly understand. This year they may finally get that anchor tattoo. ⌘ Read more

⤋ Read More

The inspiration behind an otherworldly network of glowing mushrooms in Kings Park
More than 50,000 kilometres of cables, fibre optics and lighting components will power 18 installations across Kings Park as part of the immersive Lightscape experience. ⌘ Read more

⤋ Read More

The people who say no to being a parent, and have very happy lives
Australia’s fertility rate is at a record low, putting those who have made the personal choice to be childfree in the centre of a political battleground whether they like it or not. ⌘ Read more

⤋ Read More

New electric buses forced into storage due to delays upgrading Sydney depots
The delays to upgrading more than a dozen depots complicates the state government’s rollout of more than 1200 electric buses within the next two years. ⌘ Read more

⤋ Read More

Wife-killer on hunger strike after deportation from Perth to ‘hellhole’ Nauru
Tony Kellisar was jailed for 22 years after he strangled his wife in 1997. He was then in limbo in immigration detention before being released in 2023, but his freedom was short-lived. ⌘ Read more

⤋ Read More

Vivid Sydney hopes drones will fly again next year. But they are hunting for a new operator
The search for an operations manager with “substantial” drone show experience was launched the day after dozens of drones descended into Darling Harbour. ⌘ Read more

⤋ Read More

Labor, Coalition to avoid repaying investment funds under donations fix
The major parties would dodge paying back donations from their investment funds if they have already spent the cash, under the government’s plan to restore campaign finance laws. ⌘ Read more

⤋ Read More

New owners reveal intentions for Wieambilla property
The new owners of the infamous Wieambilla property where two police officers and a neighbour were killed by religious extremists have revealed their intentions for the property. ⌘ Read more

⤋ Read More

Australia news as it happened: Fair Work Commission lifts minimum wages by 4.75 per cent; Peter Garrett to lead AUKUS inquiry; Israel’s planned assault on Beirut to be halted, Trump says
Follow along as we bring you the latest live news updates from Australia and beyond. ⌘ Read more

⤋ Read More

Australia news LIVE: Fair Work Commission lifts minimum wages by 4.75 per cent; Peter Garrett to lead AUKUS inquiry; Israel’s planned assault on Beirut to be halted, Trump says
Follow along as we bring you the latest live news updates from Australia and beyond. ⌘ Read more

⤋ Read More

‘Idiot’, ‘monster’, ‘witch’: Serial pest Andrew Thaler’s latest day in court did not go well
To most people, a three-hour grilling before the NSW Industrial Relations Commission would be something to fear. Not so for a sweary, problematic councillor. ⌘ Read more

⤋ Read More

Accused killer told police of ‘hidden secrets’ before girlfriend went missing
Mark Sheridan Waden told police his girlfriend, a US citizen and former beauty queen, disappeared after he threatened to report her to immigration officials. ⌘ Read more

⤋ Read More

I went looking for One Nation’s policies. Here’s what I didn’t find
The divisive party makes grand claims about what regulation or legislation needs to change. But there is no clear explanation of how any of that might be achieved. ⌘ Read more

⤋ Read More

Accused killer told police of ‘hidden secrets’ before girlfriend went missing
Mark Sheridan Waden told police his girlfriend, a US citizen and former beauty queen, disappeared after he threatened to report her to immigration officials. ⌘ Read more

⤋ Read More

Australia news LIVE: Fair Work Commission lifts minimum wages by 4.75 per cent; Peter Garrett to lead AUKUS inquiry; Israel’s planned assault on Beirut to be halted, Trump says
Follow along as we bring you the latest live news updates from Australia and beyond. ⌘ Read more

⤋ Read More

Australia news LIVE: Fair Work Commission lifts minimum wages by 4.75 per cent; Peter Garrett to lead AUKUS inquiry; Israel’s planned assault on Beirut to be halted, Trump says
Follow along as we bring you the latest live news updates from Australia and beyond. ⌘ Read more

⤋ Read More

‘FIFO playground for the rich’: Tensions soar over luxury resort’s helicopter plan
Tourism, road failures and the community have collided over a contentious transport plan by a luxury Emirates-owned retreat in the Blue Mountains. ⌘ Read more

⤋ Read More

Australia news LIVE: Fair Work Commission lifts minimum wages by 4.75 per cent; Peter Garrett to lead AUKUS inquiry; Israel’s planned assault on Beirut to be halted, Trump says
Follow along as we bring you the latest live news updates from Australia and beyond. ⌘ Read more

⤋ Read More

Antony Catalano’s bail varied so he can travel to the wife he’s accused of bashing
Defence lawyer Tony Hargreaves asked that the media mogul now be permitted to go to Byron Bay to see his family after limitations were placed on his interstate travel at a bail hearing earlier this year. ⌘ Read more

⤋ Read More