changes to md in gh themes

This commit is contained in:
booploops 2022-02-14 00:09:30 -08:00
parent a46d72c422
commit d1197eec80
2 changed files with 2 additions and 2 deletions

View file

@ -3183,7 +3183,7 @@
.replace(showdown.helper.regexes.asteriskDashTildeAndColon, showdown.helper.escapeCharactersCallback);
//url = showdown.helper.escapeCharacters(url, '*_', false);
url = url.replace(showdown.helper.regexes.asteriskDashTildeAndColon, showdown.helper.escapeCharactersCallback);
var result = '<img src="' + url + '" alt="' + altText + '"';
var result = '<img style="width:100%;" src="' + url + '" alt="' + altText + '"';
if (title && showdown.helper.isString(title)) {
title = title

View file

@ -75,7 +75,7 @@
methods: {
showRepo(repo) {
const self = this
const readmeUrl = `https://raw.githubusercontent.com/${repo.full_name}/master/README.md`;
const readmeUrl = `https://raw.githubusercontent.com/${repo.full_name}/main/README.md`;
var requestOptions = {
method: 'GET',
redirect: 'follow'