Easter cleaning
This commit is contained in:
commit
9e36078b2e
1862 changed files with 270281 additions and 0 deletions
25
nx01-mushroom-mais/pom.xml
Normal file
25
nx01-mushroom-mais/pom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01</artifactId>
|
||||
<version>〇一。壬寅。一〄-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>nx01-mushroom-mais</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-x4o-maisdoc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.commonmark</groupId>
|
||||
<artifactId>commonmark</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package love.distributedrebirth.nx01.mushroom.mais;
|
||||
|
||||
import org.commonmark.node.Node;
|
||||
import org.commonmark.parser.Parser;
|
||||
import org.commonmark.renderer.html.HtmlRenderer;
|
||||
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class MushRoomMaisMDWing {
|
||||
|
||||
public void test() {
|
||||
// https://openjdk.org/jeps/467
|
||||
/// <== markdown
|
||||
|
||||
// MD ref links;
|
||||
//You can link to any kind of program element:
|
||||
/// - a package [java.util]
|
||||
/// - a class [String]
|
||||
/// - a field [String#CASE_INSENSITIVE_ORDER]
|
||||
/// - a method [String#chars()]
|
||||
//For example:
|
||||
/// - [a class][String]
|
||||
/// - [a field][String#CASE_INSENSITIVE_ORDER]
|
||||
/// - [a method][String#chars()]
|
||||
|
||||
// JavaDoc tags may not be used within literal text, such as code spans (`...`) or code blocks,
|
||||
// that is, blocks of text that are either indented or enclosed within fences such as ``` or ~~~.
|
||||
// In other words, the character sequences @... and {@...} have no special meaning within code spans and code blocks:
|
||||
//
|
||||
// Markdown files in doc-files subdirectories are processed appropriately
|
||||
//
|
||||
// <script type="module">
|
||||
// import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
|
||||
// mermaid.initialize({ startOnLoad: true });
|
||||
// </script>
|
||||
// Doing so commands the mermaid parser to look for the <div> or <pre> tags with class="mermaid".
|
||||
|
||||
// <link href="themes/prism.css" rel="stylesheet" />
|
||||
// <script src="prism.js"></script>
|
||||
// <pre><code class="language-css">p { color: red }</code></pre>
|
||||
|
||||
// The content of a code fence is treated as literal text, not parsed as inlines. The first word of the info string
|
||||
// is typically used to specify the language of the code sample, and rendered in the class attribute of the code tag.
|
||||
// However, this spec does not mandate any particular treatment of the info string.
|
||||
|
||||
|
||||
Parser parser = Parser.builder().build();
|
||||
Node document = parser.parse("This is *Markdown*");
|
||||
HtmlRenderer renderer = HtmlRenderer.builder().build();
|
||||
renderer.render(document); // "<p>This is <em>Markdown</em></p>\n"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue