Complete markdown support

- Update markdown parser to v15.0.5
- Add credit to markedjs/marked
- UI adjust
This commit is contained in:
KOWX712
2025-01-03 11:37:13 +08:00
parent ec330a4b0b
commit 12a39ce60a
4 changed files with 17 additions and 10 deletions

View File

@@ -38,6 +38,7 @@ Configure Tricky Store target.txt with KSU WebUI.
## Acknowledgement
- [j-hc/zygisk-detach](https://github.com/j-hc/zygisk-detach) - KSU WebUI template
- [markedjs/marked](https://github.com/markedjs/marked) - Markdown Support
## Links
[![release](https://custom-icon-badges.demolab.com/badge/-Download-F25278?style=for-the-badge&logo=download&logoColor=white)](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)

View File

@@ -16,6 +16,7 @@
<script type="module" crossorigin src="scripts/about.js"></script>
<script type="module" crossorigin src="scripts/help.js"></script>
<script type="module" crossorigin src="scripts/vbmeta-digest.js"></script>
<script src="scripts/marked.min.js"></script>
</head>
<body>
@@ -233,6 +234,7 @@
<br>
<p id="acknowledgment" data-i18n="about.acknowledgment"></p>
<p>j-hc/zygisk-detach: WebUI template</p>
<p>markedjs/marked: Markdown Support</p>
</div>
</div>
</div>
@@ -243,7 +245,7 @@
<button class="close-update">&#x2715;</button>
<div class="update-content">
<h1 data-i18n="update.changelog"></h1>
<ul class="changelog"></ul>
<div class="changelog"></div>
<div class="update-button-container">
<button class="install" data-i18n="update.install"></button>
<button class="reboot" data-i18n="update.reboot"></button>

File diff suppressed because one or more lines are too long

View File

@@ -80,32 +80,36 @@
}
.update-content {
max-height: 85vh;
padding: 0 30px;
overflow-y: auto;
}
.update-content h3 {
font-size: 22px;
margin: 0;
}
.update-content ul {
.changelog {
max-height: 65vh;
overflow-y: auto;
}
.changelog ul {
padding-left: 0;
margin: 0;
}
.update-content ul li {
.changelog ul li {
margin-left: 15px;
margin-bottom: 5px;
list-style-type: disc;
}
.update-content a {
.changelog a {
color: #6E6E6E;
cursor: none;
}
.update-content a:active {
.changelog a:active {
color: blue;
}