add md+katex huge txt viewer

This commit is contained in:
James Feng Cao 2022-10-20 17:04:24 +08:00
parent 1ca754c378
commit 3cb1a66d80
11 changed files with 173 additions and 13 deletions

View file

@ -22,7 +22,7 @@
}
var file;
var blocksize = 1024;
var blocksize = 20480;
function loadSlice(){
function render(u8array){
document.body.innerHTML = window.markdeep.format(new TextDecoder().decode(u8array),true);