LoginSignup
7
0

More than 5 years have passed since last update.

kobitoでもプレーンテキスト用のシンタックスハイライトが欲しい

Posted at

Qiitaでは```textと書くとプレーンテキストとして、シンタックスハイライトがされます。
つまり、コードブロックとして表示されるだけで、何も書体が変わりません。

この機能はコマンドの実行結果などの等幅にはしたいけど、書式設定をつけたくはないような場面で役に立ちます。
この機能をkobitoにもつけて欲しいです。

textにすると見やすくなる例: psコマンドの実行結果

syslog    1311  0.0  0.1 260632  3988 ?        Ssl  Dec10   0:00 /usr/sbin/rsyslogd -n
message+  1314  0.0  0.0  42892  3728 ?        Ss   Dec10   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --syste
root      1317  0.0  0.1 272944  5888 ?        Ssl  Dec10   0:01 /usr/lib/accountsservice/accounts-daemon
root      1327  0.0  0.0   4400  1292 ?        Ss   Dec10   0:00 /usr/sbin/acpid
root      1334  0.0  0.1 636800  6972 ?        Ssl  Dec10   0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root      1345  0.0  0.0  28620  3116 ?        Ss   Dec10   0:00 /lib/systemd/systemd-logind
root      1348  0.0  0.2 257584 11180 ?        Ssl  Dec10   0:00 /usr/lib/snapd/snapd
daemon    1358  0.0  0.0  26044  2128 ?        Ss   Dec10   0:00 /usr/sbin/atd -f
root      1362  0.0  0.3  45436 13828 ?        Ss   Dec10   0:02 /usr/bin/python /usr/share/google/google_daemon/manage_addresses.py
root      1439  0.0  0.0  26068  2600 ?        Ss   Dec10   0:00 /usr/sbin/cron -f
root      1564  0.0  0.0  13376   168 ?        Ss   Dec10   0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --
root      1571  0.0  0.1 277180  6060 ?        Ssl  Dec10   0:00 /usr/lib/policykit-1/polkitd --no-debug
root      1588  0.0  0.1  65520  6312 ?        Ss   Dec10   0:00 /usr/sbin/sshd -D
root      1644  0.0  0.0  12844  1772 ttyS0    Ss+  Dec10   0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
root      1646  0.0  0.0  14660  1808 tty1     Ss+  Dec10   0:00 /sbin/agetty --noclear tty1 linux

7
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
0