Add "container" paired shortcodes for Markdown files
This commit is contained in:
parent
fe05db6bdc
commit
3612518f30
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||
<link href="https://leilukin.neocities.org"/>
|
||||
<updated>2024-05-06T15:43:15Z</updated>
|
||||
<updated>2024-05-06T17:36:23Z</updated>
|
||||
<id>https://leilukin.neocities.org</id>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
@ -2347,8 +2347,7 @@ After discovering the static site generator <a href="https://www.11ty.de
|
|||
<p>https://youtu.be/4itTaqLKQPQ</p>
|
||||
<p><span class="juhani-history">History #3:</span> Available when you gain 1 level after History #2. Juhani reveals that she was from Taris, and she expresses anger over the destruction of Taris. After this conversation, the global value of <code>G_JUHANIH_STATE</code> will be set to 3.</p>
|
||||
<p>https://youtu.be/Foj1nmouoIU</p>
|
||||
<div class="text-box">
|
||||
<p><strong>BUG WARNING:</strong> There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the "Personal Conversation Path" section below for more details about this bug. This bug is fixed by the <a href="https://deadlystream.com/files/file/1258-kotor-1-community-patch/" target="_blank">KOTOR 1 Community Patch</a>, which is a major reason I highly recommend this mod.</p>
|
||||
<div class="text-box"><p><strong>BUG WARNING:</strong> There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the &quot;Personal Conversation Path&quot; section below for more details about this bug. This bug is fixed by the <a href="https://deadlystream.com/files/file/1258-kotor-1-community-patch/">KOTOR 1 Community Patch</a>, which is a major reason I highly recommend this mod.</p>
|
||||
<p>If you are unable to install mods for some reason, I would suggest that once you complete History #3, stop leveling up your character. Once you get your second Star Map (the Dantooine Star Map counts as the first Star Map), complete Personal #3 <em>AND</em> Personal #4 at once. After all that is done, you can now level up to trigger History #4.</p>
|
||||
</div>
|
||||
<p><span class="juhani-history">History #4:</span> Available when you gain 1 level after History #3. Juhani apologizes for her outburst over Taris' destruction, and recalls her life on Taris. After this conversation, the global value of <code>G_JUHANIH_STATE</code> will be set to 4.</p>
|
||||
|
|
|
@ -408,8 +408,7 @@
|
|||
<div id="4itTaqLKQPQ" class="eleventy-plugin-youtube-embed" style="position:relative;width:100%;padding-top: 56.25%;"><iframe style="position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;" width="100%" height="100%" frameborder="0" title="Embedded YouTube video" src="https://www.youtube-nocookie.com/embed/4itTaqLKQPQ" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>
|
||||
<p><span class="juhani-history">History #3:</span> Available when you gain 1 level after History #2. Juhani reveals that she was from Taris, and she expresses anger over the destruction of Taris. After this conversation, the global value of <code>G_JUHANIH_STATE</code> will be set to 3.</p>
|
||||
<div id="Foj1nmouoIU" class="eleventy-plugin-youtube-embed" style="position:relative;width:100%;padding-top: 56.25%;"><iframe style="position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;" width="100%" height="100%" frameborder="0" title="Embedded YouTube video" src="https://www.youtube-nocookie.com/embed/Foj1nmouoIU" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>
|
||||
<div class="text-box">
|
||||
<p><strong>BUG WARNING:</strong> There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the "Personal Conversation Path" section below for more details about this bug. This bug is fixed by the <a href="https://deadlystream.com/files/file/1258-kotor-1-community-patch/" target="_blank">KOTOR 1 Community Patch</a>, which is a major reason I highly recommend this mod.</p>
|
||||
<div class="text-box"><p><strong>BUG WARNING:</strong> There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the "Personal Conversation Path" section below for more details about this bug. This bug is fixed by the <a href="https://deadlystream.com/files/file/1258-kotor-1-community-patch/">KOTOR 1 Community Patch</a>, which is a major reason I highly recommend this mod.</p>
|
||||
<p>If you are unable to install mods for some reason, I would suggest that once you complete History #3, stop leveling up your character. Once you get your second Star Map (the Dantooine Star Map counts as the first Star Map), complete Personal #3 <em>AND</em> Personal #4 at once. After all that is done, you can now level up to trigger History #4.</p>
|
||||
</div>
|
||||
<p><span class="juhani-history">History #4:</span> Available when you gain 1 level after History #3. Juhani apologizes for her outburst over Taris' destruction, and recalls her life on Taris. After this conversation, the global value of <code>G_JUHANIH_STATE</code> will be set to 4.</p>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* CONFIGURATION FOR MARKDOWN FILES */
|
||||
|
||||
// Installed Plugins
|
||||
const pluginTOC = require('eleventy-plugin-nesting-toc');
|
||||
const embedEverything = require("eleventy-plugin-embed-everything");
|
||||
|
@ -72,4 +74,11 @@ module.exports = function (eleventyConfig) {
|
|||
|
||||
/* This is the part that tells 11ty to swap to our custom config */
|
||||
eleventyConfig.setLibrary("md", markdownLibrary);
|
||||
|
||||
// Paired shortcode: custom container
|
||||
eleventyConfig.addPairedShortcode('container', (children, el, className) => {
|
||||
const classMarkup = className ? ` class="${className}"` : "";
|
||||
const content = markdownIt().render(children);
|
||||
return `<${el}${classMarkup}>${content}</${el}>`;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -56,10 +56,11 @@ https://youtu.be/4itTaqLKQPQ
|
|||
|
||||
https://youtu.be/Foj1nmouoIU
|
||||
|
||||
<div class="text-box">
|
||||
<p><strong>BUG WARNING:</strong> There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the "Personal Conversation Path" section below for more details about this bug. This bug is fixed by the <a href="https://deadlystream.com/files/file/1258-kotor-1-community-patch/" target="_blank">KOTOR 1 Community Patch</a>, which is a major reason I highly recommend this mod.</p>
|
||||
<p>If you are unable to install mods for some reason, I would suggest that once you complete History #3, stop leveling up your character. Once you get your second Star Map (the Dantooine Star Map counts as the first Star Map), complete Personal #3 <em>AND</em> Personal #4 at once. After all that is done, you can now level up to trigger History #4.</p>
|
||||
</div>
|
||||
{% container "div", "text-box" %}
|
||||
**BUG WARNING:** There is a bug that may block you from progressing Juhani's Personal Conversation path after you complete History #3, and thus preventing you from triggering Juhani's final romance conversation. See the "Personal Conversation Path" section below for more details about this bug. This bug is fixed by the [KOTOR 1 Community Patch](https://deadlystream.com/files/file/1258-kotor-1-community-patch/), which is a major reason I highly recommend this mod.
|
||||
|
||||
If you are unable to install mods for some reason, I would suggest that once you complete History #3, stop leveling up your character. Once you get your second Star Map (the Dantooine Star Map counts as the first Star Map), complete Personal #3 _AND_ Personal #4 at once. After all that is done, you can now level up to trigger History #4.
|
||||
{% endcontainer %}
|
||||
|
||||
[History #4:]{.juhani-history} Available when you gain 1 level after History #3. Juhani apologizes for her outburst over Taris' destruction, and recalls her life on Taris. After this conversation, the global value of `G_JUHANIH_STATE` will be set to 4.
|
||||
|
||||
|
|
Loading…
Reference in New Issue