お試しアゲイン

やり方を忘れていたので、試してみる。そして code のハイライトができていなかったので、再度テンプレートにそれ用のものを書いた。

#! /usr/bin/env perl

use strict;
use warnings;

while (<>) {
    chomp;
    my @plist = split(/\s+/);
    print "$plist[1], $plist[2]\n";
}

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
      tex2jax: {
        inlineMath: [ ['$','$'], ["\\(","\\)"] ],
        displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
      }
    });
</script>
<script type="text/javascript"
   src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
</script>
<meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
ハイライトについては、
https://highlightjs.org/static/demo/
https://blue-leaf81.net/archives/1010/
にお世話になった。