Search

Nalezeno "Pre": 718

Code blocks, but better


Pedro Duarte made a wishlist for styled code blocks in blog posts and documentation, then hand-rolls a perfect solution for that wishlist. For example, a feature to be able to highlight certain lines or words within the code block. The … The post Code blocks, but better appeared first...

To $ or Not to $: Displaying Terminal Code Snippets


It’s very popular to put a $ on lines that are intended to be a command in code documentation that involves the terminal (i.e. the command line). Like this: $ brew install somepackage The point of that is that it … The post To $ or Not to $: Displaying Terminal Code Snippets appeared...

proxy-www


I like a good trick. What if… a URL was… a promise… that fetched said URL? www.codepen.io.then((response) ={ console.log(response); }); That’s what @justjavac did with JavaScript Proxys. A clever trick, that. Don’t @ me about the practicality. Trick… The post...

Creating Stylesheet Feature Flags With Sass !default


!default is a Sass flag that indicates conditional assignment to a variable — it assigns a value only if the variable was previously undefined or null. Consider this code snippet: $variable: 'test' !default; To the Sass compiler, this line … The post Creating Stylesheet Feature Flags With...

ILUS Coin Pre-Sale has been Extended


The text below is an advertorial article that was not written by Cryptonews.com journalists. It’s not too often that you come across well-reputed publicly traded companies launching their native token. ILUS International, however, is venturing into the crypto space to launch its native ILUS Coin....

Randy Pitchford, What The Hell Are You Talking About


I’m generally able to follow along with Gearbox president Randy Pitchford’s manic energy, but two tweets he made this morning have thrown me for a loop. He’s not really announcing Borderlands 4, is he?Read more

Creating an Editable Textarea That Supports Syntax-Highlighted Code


When I was working on a project that needed an editor component for source code, I really wanted a way to have that editor highlight the syntax its typed. There are projects like this, like CodeMirror, Ace, and … The post Creating an Editable Textarea That Supports Syntax-Highlighted Code...

Not Your Typical Horizontal Rules


The default browser style for <hr> is so weird. It’s basically: border-style: inset; border-width: 1px; The default border-color is black, but the border doesn’t actually look black, because the inset border “adds a split tone to the line … The post Not Your Typical...

The `ping` attribute on anchor links


I didn’t know this was a thing until Stefan Judis’s post: <a href="https://www.stefanjudis.com/popular-posts/" ping="https://www.stefanjudis.com/tracking/"Read popular posts</a You give an anchor link a URL via a ping attribute, and the browser will hit that URL with a...

Final Fantasy Creator's New RPG Is Out And Painfully Pretty


I’m having a problem playing Fantasian, the new turn-based RPG from Final Fantasy creator Hironobu Sakaguchi’s Mistwalker released today on Apple Arcade. I can’t stop pausing to look at how gorgeous the game’s real-life miniature diorama sets are. I didn’t say it was a bad problem. Read more

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace