initial math, and other things
This commit is contained in:
parent
594b9ae2d2
commit
48eb7840b3
9 changed files with 91 additions and 26 deletions
|
@ -1,7 +1,7 @@
|
|||
#! /usr/bin/env sh
|
||||
|
||||
if [ $# -lt 1 ] || ! pygmentize -L lexers | grep -qw "$1"; then
|
||||
recode ascii..html
|
||||
recode utf8..html
|
||||
else
|
||||
pygmentize -l $1 -f html | head -c -13 | awk -F '<pre>' '{print $NF}'
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue