📄 texttohtml
字号:
#! /bin/sh#================================================================# texttohtml# Escape meta character of HTML.#================================================================# print headercat <<__EOF<?xml version="1.0" encoding="US-ASCII"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" /><meta http-equiv="Content-Style-Type" content="text/css" /><title>Generated by texttohtml</title></head><body><pre>__EOF# print bodycat $1 | sed -e 's/&/\&/g' -e 's/</\</g' -e 's/>/\>/g'# print footercat <<__EOF</pre></body></html>__EOF# exit normallyexit 0# END OF FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -