0.0.6 - "one of many Minor Text Formatting Updates"

This commit is contained in:
yellows111 2024-04-22 13:26:06 +01:00
parent cf7d304474
commit f2fc7e360c
3 changed files with 8 additions and 4 deletions

View File

@ -69,6 +69,9 @@ function format(data, name) {
.replace( /* multitag suffix fix for special characters. */
/(<\/(?:a|code)>)\n\t*([.)\];:,])/g,
"$1$2"
).replace( /* fix tag attached to word and not whitespace */
/(\w+)(<[a-zA-Z]\w*>)/g,
"$1 $2"
);
}
// probably should bring in a better templating engine but whatever
@ -78,7 +81,8 @@ function format(data, name) {
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=2.0">
<meta name="description" content="${name} on ${wikiName}">
<title>${name} - Documentation</title>
<link rel="stylesheet" type="text/css" href="${rootPrefix}yiki.css">
</head>

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "yiki",
"version": "0.0.5",
"version": "0.0.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "yiki",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",
"dependencies": {
"@liquify/prettify": "^0.5.5-beta.1",

View File

@ -1,6 +1,6 @@
{
"name": "yiki",
"version": "0.0.5",
"version": "0.0.6",
"description": "The yellows111 wiki system",
"main": "compile.js",
"scripts": {