TextViewer: view html, markdown (#15588)
This commit is contained in:
1 parent
49caca9481
commit
16d97965b2
3 files changed
+185
-65
No files matched your search
@@ -331,7 +331,7 @@ function ArchiveViewer:viewFile(filepath)
|
||||
viewer:switchToImageNum(curr_index)
|
||||
else
|
||||
local viewer = TextViewer:new{
|
||||
title = filepath,
|
||||
file = filepath,
|
||||
title_multilines = true,
|
||||
text = self:extractContent(filepath),
|
||||
text_type = "file_content",
|
||||
|
||||
Reference in new issue
Block a user