feat(#137): adds support for md rendering in webview

This commit is contained in:
tdurieux
2022-10-24 08:34:53 +02:00
parent c62b50ffd0
commit 231b2fe0c8
6 changed files with 75 additions and 13 deletions

View File

@@ -1267,7 +1267,7 @@ angular
ts: "typescript",
};
const textFiles = ["license", "txt"];
const imageFiles = ["png", "jpg", "jpeg", "gif", "svg"];
const imageFiles = ["png", "jpg", "jpeg", "gif", "svg", "ico", "bmp", "tiff", "tif", "webp", "avif", "heif", "heic"];
$scope.$on("$routeUpdate", function (event, current) {
if (($routeParams.path || "") == $scope.filePath) {