summaryrefslogtreecommitdiff
path: root/index.xml
diff options
context:
space:
mode:
Diffstat (limited to 'index.xml')
-rw-r--r--index.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/index.xml b/index.xml
index 7e5ce20..de6d7e8 100644
--- a/index.xml
+++ b/index.xml
@@ -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>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;Code listings in web pages are often a bit of a pain to use. Usually, they don&#39;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.&lt;/p&gt;&#xA;&lt;/div&gt;</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>