| tags: [ chore ]
My First Post
hugoを触っています
I just created a blog using hugo.
以下は画像の貼り付けテストです。
VSCodeのPaste Imageを用いると記事への画像の貼り付けが少し楽になりました。 Paste Imageはクリップボードから画像を取得し指定ディレクトリに書き出すスクリプトをそれぞれのOSのために用意しており、それをエディタから気軽に利用できるようにしてくれます。
Syntax Highlights
hugoではコードへの色付けが容易に行えるようです。
Pygments in pure GolangなChromaを用いるようです。
$ hugo gen chromastyles --style=native > static/syntax.css
then in config.toml,
pygmentsUseClasses = true
pygmentsCodefences = true
[params]
custom_css = ["syntax.css"] # akane specifies this param