<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>CSS on Nantoka PRESS</title>
		<link>https://nantokapress.com/tags/css/</link>
		<description>Recent content in CSS on Nantoka PRESS</description>
		<generator>Hugo</generator>
		<language>ja-JP</language>
		
		
		
		
			<lastBuildDate>Wed, 28 Oct 2026 07:00:00 +0900</lastBuildDate>
		
			<atom:link href="https://nantokapress.com/tags/css/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Hugo のコードの色付けを CSS クラスにする（highlight.js をやめた）</title>
				<link>https://nantokapress.com/hugo-chroma-css-classes/</link>
				<pubDate>Wed, 28 Oct 2026 07:00:00 +0900</pubDate>
				<guid>https://nantokapress.com/hugo-chroma-css-classes/</guid>
				<description>&lt;h2 id=&#34;javascript-はいらなかった&#34;&gt;JavaScript はいらなかった&lt;/h2&gt;&#xA;&lt;p&gt;旧サイトのテーマでは highlight.js を読み込んで、ブラウザ側でコードに色を付けていました。 作り直すにあたって調べたところ、Hugo には Chroma というハイライターが入っていて、 ビルドのときに色付けまで済ませてくれます。 JavaScript を読み込む必要がなくなるので、こちらに乗り換えました。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
