diff options
Diffstat (limited to 'index.xml')
-rw-r--r-- | index.xml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -7,9 +7,16 @@ <generator>Hugo</generator> <language>en-us</language> <copyright>Jan Sebastian Götte</copyright> - <lastBuildDate>Sun, 29 Jun 2025 23:42:00 +0100</lastBuildDate> + <lastBuildDate>Wed, 23 Jul 2025 23:42:00 +0100</lastBuildDate> <atom:link href="http://jaseg.de/index.xml" rel="self" type="application/rss+xml" /> <item> + <title>Code listings with nice line wrapping and line numbers from plain CSS</title> + <link>http://jaseg.de/blog/css-only-code-blocks/</link> + <pubDate>Wed, 23 Jul 2025 23:42:00 +0100</pubDate> + <guid>http://jaseg.de/blog/css-only-code-blocks/</guid> + <description><div class="document">


<p>Code listings in web pages are often a bit of a pain to use. Usually, they don't wrap on small screens. Also, copy-pasting code from a code listing often copies the line numbers along with the code. Finally, many implementations use heavyweight HTML and/or javascript, making them slow to render. For this blog, I wrote a little CSS hack that renders nice, wrapping code blocks with line continuation markers in plain CSS without any JS.</p>
</div></description> + </item> + <item> <title>Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook</title> <link>http://jaseg.de/blog/jupyterlab-notebook-file-oneliner/</link> <pubDate>Sun, 29 Jun 2025 23:42:00 +0100</pubDate> |