• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hackingwu
V2EX  ›  程序员

想用 elasticsearch 给公司代码做一个全文检索的网站

  •  
  •   hackingwu ·
    hackingwu · Oct 30, 2017 · 3682 views
    This topic created in 3290 days ago, the information mentioned may be changed or developed.

    有什么好的在 Html 里显示代码的 UI 组件吗?像 github 那样显示行号和高亮语法的。

    9 replies  •  2023-06-05 08:09:05 +08:00
    SlipStupig
    SlipStupig
    Oct 30, 2017
    1
    es 自带高亮语法
    sinux
    sinux
    PRO
    Oct 30, 2017
    2
    楼上可能有点误会了,es 的 highlight light 的是 match 到的东西,不是语法.....
    swuzjb
    swuzjb
    Oct 30, 2017
    3
    layui
    swuzjb
    swuzjb
    Oct 30, 2017
    4
    可以使用 layui
    hustlike
    hustlike
    Oct 30, 2017
    5
    很多啊。很多 js 库
    airycanon
    airycanon
    Oct 30, 2017❤️1
    6
    我之前用的 [prism.js( http://prismjs.com/)
    ksupertu
    ksupertu
    Oct 30, 2017 via iPhone
    7
    直接装个 gitlab 不就行了……
    wangjie
    wangjie
    Oct 30, 2017
    8
    codemirror?
    bigtang
    bigtang
    Jun 5, 2023
    9
    程序源代码检索参考 tanglib.com, 1T 源代码
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4510 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 03:52 · PVG 11:52 · LAX 19:52 · JFK 22:52
    ♥ Do have faith in what you're doing.