linux:ansi2html

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:ansi2html [2022/10/03 03:00] – [ansi2html に処理結果をパイプする場合は '--color=auto' ではなく '--color=always' を指定する] ともやんlinux:ansi2html [2023/09/09 15:38] (現在) – [スタイル一覧] ともやん
行 8: 行 8:
  
 ===== インストール ===== ===== インストール =====
-**ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊**pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\+**ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊\\ 
 +**pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\
  
 **Fedora**\\ **Fedora**\\
行 530: 行 531:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> pipetty make -C build | ansi2html | tee build.html+<class=GRN>$</b> <b class=HIY>pipetty</b> make <b class=HIK>-C</b> build | <b class=HIY>ansi2html</b> <b class=HIY>tee</b> build.html
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_long><html><pre> <WRAP color_result_long><html><pre>
行 1036: 行 1037:
 </WRAP> </WRAP>
  
-<WRAP mincode_long><code html fedora_ls-al.html>+<WRAP color_term> 
 +<WRAP color_mincode_long><code html fedora_ls-al.html>
 <!DOCTYPE html> <!DOCTYPE html>
 <html> <html>
行 1103: 行 1105:
 </html> </html>
 </code></WRAP> </code></WRAP>
 +</WRAP>
 +
  
 ===== 小枝🤤 画面出力と同時に ansi2html で HTML ファイルにも同時出力する🤔 ===== ===== 小枝🤤 画面出力と同時に ansi2html で HTML ファイルにも同時出力する🤔 =====
行 1292: 行 1296:
 <span class=GRN>$</span> cat ls-l.html <span class=GRN>$</span> cat ls-l.html
 </pre></html></WRAP> </pre></html></WRAP>
-<WRAP color_result_long><code css>+<WRAP color_mincode_long><code javascript>
 <!DOCTYPE html> <!DOCTYPE html>
 <html> <html>
行 1434: 行 1438:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_mincode><html><pre>
 +<b class=BSc>
 +&lt;b class=BSc>
 +</b>
 +<b class=BScBLU>
 +&lt;span class=BScBLU>
 +</b>
 +<b class=BScHGRY>
 +&lt;b class=BScHGRY>
 +</b>
 +<b class=BScINDG>
 +&lt;b class=BScINDG>
 +</b>
 +</pre></html></WRAP>
 +</WRAP>
 +
 ※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\ ※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\
  
-**Dokuwiki 雛形**\\ +==== Dokuwiki 雛形 ==== 
-<WRAP color_code mincode><code>+<WRAP color_term> 
 +<WRAP color_mincode><code html>
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 <b class=GRN>$</b> <b class=HIY>command</b> subcommand <b class=HIK>--options</b> <b class=DiYE>...</b> <b class=GRN>$</b> <b class=HIY>command</b> subcommand <b class=HIK>--options</b> <b class=DiYE>...</b>
 </pre></html></WRAP> </pre></html></WRAP>
 +
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 +</pre></html></WRAP>
 +
 +<WRAP color_result_long><html><pre>
 +</pre></html></WRAP>
 +
 +<WRAP color_mincode><html><pre>
 +</pre></html></WRAP>
 +
 +<WRAP color_mincode_long><html><pre>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
 </code></WRAP> </code></WRAP>
 +</WRAP>
  
 <WRAP color_term> <WRAP color_term>
行 1455: 行 1489:
 </WRAP> </WRAP>
  
-<WRAP color_code mincode><code>+<WRAP color_term> 
 +<WRAP color_mincode><code html>
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 (pyJupyterLab) <b class=GRN>$</b> <b class=HIY>pip</b> install jupyterlab-nvdashboard (pyJupyterLab) <b class=GRN>$</b> <b class=HIY>pip</b> install jupyterlab-nvdashboard
 </pre></html></WRAP> </pre></html></WRAP>
 +
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 ... ...
   Downloading https://www.piwheels.org/simple/bokeh/bokeh-2.4.3-py3-none-any.whl (18.5 MB)   Downloading https://www.piwheels.org/simple/bokeh/bokeh-2.4.3-py3-none-any.whl (18.5 MB)
-     <style="color:#87af5f;">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>18.5/18.5 MB</b> <b class=RED>130.2 kB/s</b> eta <b class=CYN>0:00:00</b>+     <class=PipBAR>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>18.5/18.5 MB</b> <b class=RED>130.2 kB/s</b> eta <b class=CYN>0:00:00</b>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
 </code></WRAP> </code></WRAP>
 +</WRAP>
  
 <WRAP color_term> <WRAP color_term>
行 1475: 行 1512:
 ... ...
   Downloading https://www.piwheels.org/simple/bokeh/bokeh-2.4.3-py3-none-any.whl (18.5 MB)   Downloading https://www.piwheels.org/simple/bokeh/bokeh-2.4.3-py3-none-any.whl (18.5 MB)
-     <style="color:#87af5f;">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>18.5/18.5 MB</b> <b class=RED>130.2 kB/s</b> eta <b class=CYN>0:00:00</b>+     <class=PipBAR>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>18.5/18.5 MB</b> <b class=RED>130.2 kB/s</b> eta <b class=CYN>0:00:00</b>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  • linux/ansi2html.1664733648.txt.gz
  • 最終更新: 2022/10/03 03:00
  • by ともやん