Add many interactive components

- Version selector for MidnightLib is now finally working
- Added buttons to copy code from code blocks
- Added color chooser in Puzzle wiki
This commit is contained in:
Martin Prokoph
2024-09-18 01:19:42 +02:00
parent fc8286964f
commit 0c18baf478
5 changed files with 189 additions and 140 deletions

View File

@@ -33,14 +33,13 @@ dependencies {
```
### `gradle.properties`
<VersionDropdown></VersionDropdown>
{<pre><code className="language-java">midnightlib_version = {getResultingVersion()}</code></pre>}
{<pre><code className="language-java" id="midnightlib-version" >midnightlib_version = {getResultingVersion()}</code></pre>}
<Notification type="info">
<Icon name="ion:information-circle-outline" />
<p>
<strong>Info:</strong> You should always pick the version that suits your modloader and Minecraft version best.
The version selector is currently still WIP.
Find all available versions on [Modrinth](https://www.modrinth.com/mod/midnightlib/versions)
The version selector is finally fully functional!
</p>
</Notification>