You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Complete markdown support
- Update markdown parser to v15.0.5 - Add credit to markedjs/marked - UI adjust
This commit is contained in:
@@ -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
|
||||
[](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||
|
||||
@@ -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">✕</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>
|
||||
|
||||
6
module/webui/scripts/marked.min.js
vendored
6
module/webui/scripts/marked.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user