Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1032557 // javaxSourceToHTML (as div)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9916L/61K).

sS javaxSourceToHTML(S code) {
  new JavaXHyperlinker hl;
  S html = hl.codeToHTML(code);
  ret div(sourceCodeToHTML_noEncode(html), style := hstyle_sourceCodeLikeInRepo());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032557
Snippet name: javaxSourceToHTML (as div)
Eternal ID of this version: #1032557/2
Text MD5: c50435ac4da59811569b5cca8e13444c
Transpilation MD5: df0e71bf4d85a096fa97c6096a78f914
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-22 22:57:01
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 184
Version history: 1 change(s)
Referenced in: [show references]