neat trick
This commit is contained in:
parent
64acf09214
commit
53154ec9b7
3 changed files with 11 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
if [[ $# -lt 1 ]] || ! { pygmentize -L lexers | grep -qw "$1"; }; then
|
||||
if [[ $# -lt 1 ]] || ! pygmentize -L lexers | grep -qw "$1"; then
|
||||
printf "<code>"
|
||||
cat
|
||||
printf "</code>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue