source upload

This commit is contained in:
Razor12911
2022-01-17 22:16:47 +02:00
parent 12936d065b
commit 098e8c48de
1778 changed files with 1206749 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
/**
* this function is called from TTestServer.Process method in case we point to *.md file
* loadFile here is a NATIVE (realisation in Delphi) function
* @param {String} pathToFile file to process
*/
function showDownRunner(pathToFile){
var src = loadFile(pathToFile);
var converter = new Showdown.converter();
return converter.makeHtml(src);
}