Home  >  Q&A  >  body text

javascript - What are the better web shell front-end components?

For example, Tencent Cloud. I found a tty.js before. It seems to be a front-end and back-end integration system written in node.js. I hope there is only a bare front-end. I have the back-end that I sent here. Data, is there such a component or library?

巴扎黑巴扎黑2704 days ago691

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-05-24 11:38:29

    If it is just a front-end display that does not include interaction and does not require any components or libraries, just use the pre tag:

    <pre class="ansi">
    这是命令行文本
    </pre>

    If you still want to support colors, you can use ansi-html to handle it.

    If you still want to include line numbers, etc. you can use: highlight.js

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-24 11:38:29

    There are also many open source ones:
    PHP: official website, https://github.com/nickola/we...

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-24 11:38:29

    I don’t know if you are talking about Microsoft Azure

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-24 11:38:29

    Can you see if Sina Cloud can be used?

    reply
    0
  • Cancelreply