Update app.py
Browse files
app.py
CHANGED
@@ -16,14 +16,12 @@ import unicodedata
|
|
16 |
st.set_page_config(layout="wide", initial_sidebar_state="collapsed")
|
17 |
|
18 |
def create_pdf_tab(default_markdown):
|
19 |
-
# Dynamically load all .ttf fonts from the current directory
|
20 |
font_files = glob.glob("*.ttf")
|
21 |
if not font_files:
|
22 |
st.error("No .ttf font files found in the current directory. Please add some, e.g., NotoEmoji-Regular.ttf.")
|
23 |
return
|
24 |
available_fonts = {os.path.splitext(os.path.basename(f))[0]: f for f in font_files}
|
25 |
|
26 |
-
# Sidebar configuration
|
27 |
with st.sidebar:
|
28 |
selected_font_name = st.selectbox("Select Font", options=list(available_fonts.keys()), index=0 if "NotoEmoji-Regular" in available_fonts else 0)
|
29 |
selected_font_path = available_fonts[selected_font_name]
|
@@ -42,56 +40,45 @@ def create_pdf_tab(default_markdown):
|
|
42 |
|
43 |
st.download_button(label="Save Markdown", data=st.session_state.markdown_content, file_name="deities_guide.md", mime="text/markdown")
|
44 |
|
45 |
-
# Register the selected font and a fallback font
|
46 |
try:
|
47 |
pdfmetrics.registerFont(TTFont(selected_font_name, selected_font_path))
|
48 |
-
|
49 |
-
pdfmetrics.registerFont(TTFont("Helvetica", "Helvetica.ttf")) # Ensure Helvetica is available
|
50 |
except Exception as e:
|
51 |
st.error(f"Failed to register font {selected_font_name}: {e}")
|
52 |
return
|
53 |
|
54 |
-
# Emoji font application with fallback
|
55 |
def apply_emoji_font(text, emoji_font):
|
56 |
emoji_pattern = re.compile(
|
57 |
-
r"([\U0001F300-\U0001F5FF"
|
58 |
-
r"\U0001F600-\U0001F64F"
|
59 |
-
r"\U0001F680-\U0001F6FF"
|
60 |
-
r"\U0001F700-\U0001F77F"
|
61 |
-
r"\U0001F780-\U0001F7FF"
|
62 |
-
r"\U0001F800-\U0001F8FF"
|
63 |
-
r"\U0001F900-\U0001F9FF"
|
64 |
-
r"\U0001FA00-\U0001FA6F"
|
65 |
-
r"\U0001FA70-\U0001FAFF"
|
66 |
-
r"\u2600-\u26FF"
|
67 |
-
r"\u2700-\u27BF]+"
|
68 |
-
r")"
|
69 |
)
|
70 |
|
71 |
def replace_emoji(match):
|
72 |
emoji = match.group(1)
|
73 |
-
# Normalize emoji to avoid multi-codepoint issues (e.g., combining characters)
|
74 |
emoji = unicodedata.normalize('NFC', emoji)
|
75 |
-
# Wrap emoji in font tag; if it doesnโt render, itโll fall back to text
|
76 |
return f'<font face="{emoji_font}">{emoji}</font>'
|
77 |
|
78 |
-
# Split text into segments: emoji and non-emoji
|
79 |
segments = []
|
80 |
last_pos = 0
|
81 |
for match in emoji_pattern.finditer(text):
|
82 |
start, end = match.span()
|
83 |
-
# Add non-emoji text with Helvetica
|
84 |
if last_pos < start:
|
85 |
segments.append(f'<font face="Helvetica">{text[last_pos:start]}</font>')
|
86 |
-
# Add emoji with the selected font
|
87 |
segments.append(replace_emoji(match))
|
88 |
last_pos = end
|
89 |
-
# Add remaining non-emoji text
|
90 |
if last_pos < len(text):
|
91 |
segments.append(f'<font face="Helvetica">{text[last_pos:]}</font>')
|
92 |
return ''.join(segments)
|
93 |
|
94 |
-
# Markdown to PDF content
|
95 |
def markdown_to_pdf_content(markdown_text, plain_text_mode, auto_bold_numbers):
|
96 |
lines = markdown_text.strip().split('\n')
|
97 |
pdf_content = []
|
@@ -121,7 +108,6 @@ def create_pdf_tab(default_markdown):
|
|
121 |
total_lines = len(pdf_content)
|
122 |
return pdf_content, total_lines
|
123 |
|
124 |
-
# Create PDF
|
125 |
def create_pdf(markdown_text, base_font_size, plain_text_mode, num_columns, auto_bold_numbers):
|
126 |
buffer = io.BytesIO()
|
127 |
page_width = A4[0] * 2
|
@@ -136,7 +122,6 @@ def create_pdf_tab(default_markdown):
|
|
136 |
item_font_size = base_font_size
|
137 |
section_font_size = base_font_size * 1.1
|
138 |
|
139 |
-
# Define styles with explicit font names
|
140 |
section_style = ParagraphStyle(
|
141 |
'SectionStyle', parent=styles['Heading2'], fontName="Helvetica-Bold",
|
142 |
textColor=colors.darkblue, fontSize=section_font_size, leading=section_font_size * 1.2, spaceAfter=2
|
@@ -194,7 +179,6 @@ def create_pdf_tab(default_markdown):
|
|
194 |
buffer.seek(0)
|
195 |
return buffer.getvalue()
|
196 |
|
197 |
-
# PDF to image
|
198 |
def pdf_to_image(pdf_bytes):
|
199 |
try:
|
200 |
doc = fitz.open(stream=pdf_bytes, filetype="pdf")
|
@@ -209,7 +193,6 @@ def create_pdf_tab(default_markdown):
|
|
209 |
st.error(f"Failed to render PDF preview: {e}")
|
210 |
return None
|
211 |
|
212 |
-
# Main logic
|
213 |
with st.spinner("Generating PDF..."):
|
214 |
pdf_bytes = create_pdf(st.session_state.markdown_content, base_font_size, plain_text_mode, num_columns, auto_bold_numbers)
|
215 |
|
@@ -224,182 +207,181 @@ def create_pdf_tab(default_markdown):
|
|
224 |
with st.sidebar:
|
225 |
st.download_button(label="Download PDF", data=pdf_bytes, file_name="deities_guide.pdf", mime="application/pdf")
|
226 |
|
227 |
-
#
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
-
|
232 |
-
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
-
|
237 |
-
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
-
|
242 |
-
-
|
243 |
-
-
|
244 |
-
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
-
|
249 |
-
-
|
250 |
-
-
|
251 |
-
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
-
|
256 |
-
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
-
|
261 |
-
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
-
|
266 |
-
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
-
|
271 |
-
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
-
|
276 |
-
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
-
|
281 |
-
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
-
|
286 |
-
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
-
|
291 |
-
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
-
|
296 |
-
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
-
|
301 |
-
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
-
|
306 |
-
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
-
|
311 |
-
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
-
|
316 |
-
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
-
|
321 |
-
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
-
|
326 |
-
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
-
|
331 |
-
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
-
|
336 |
-
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
-
|
341 |
-
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
-
|
346 |
-
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
-
|
351 |
-
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
-
|
356 |
-
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
-
|
361 |
-
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
-
|
366 |
-
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
-
|
371 |
-
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
-
|
376 |
-
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
-
|
381 |
-
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
-
|
386 |
-
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
-
|
391 |
-
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
-
|
396 |
-
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
-
|
401 |
-
-
|
402 |
-
- Saints/Prophets: Virtues, for instance, justice and prophecy.
|
403 |
"""
|
404 |
|
405 |
create_pdf_tab(default_markdown)
|
|
|
16 |
st.set_page_config(layout="wide", initial_sidebar_state="collapsed")
|
17 |
|
18 |
def create_pdf_tab(default_markdown):
|
|
|
19 |
font_files = glob.glob("*.ttf")
|
20 |
if not font_files:
|
21 |
st.error("No .ttf font files found in the current directory. Please add some, e.g., NotoEmoji-Regular.ttf.")
|
22 |
return
|
23 |
available_fonts = {os.path.splitext(os.path.basename(f))[0]: f for f in font_files}
|
24 |
|
|
|
25 |
with st.sidebar:
|
26 |
selected_font_name = st.selectbox("Select Font", options=list(available_fonts.keys()), index=0 if "NotoEmoji-Regular" in available_fonts else 0)
|
27 |
selected_font_path = available_fonts[selected_font_name]
|
|
|
40 |
|
41 |
st.download_button(label="Save Markdown", data=st.session_state.markdown_content, file_name="deities_guide.md", mime="text/markdown")
|
42 |
|
|
|
43 |
try:
|
44 |
pdfmetrics.registerFont(TTFont(selected_font_name, selected_font_path))
|
45 |
+
pdfmetrics.registerFont(TTFont("Helvetica", "Helvetica.ttf"))
|
|
|
46 |
except Exception as e:
|
47 |
st.error(f"Failed to register font {selected_font_name}: {e}")
|
48 |
return
|
49 |
|
|
|
50 |
def apply_emoji_font(text, emoji_font):
|
51 |
emoji_pattern = re.compile(
|
52 |
+
r"([\U0001F300-\U0001F5FF"
|
53 |
+
r"\U0001F600-\U0001F64F"
|
54 |
+
r"\U0001F680-\U0001F6FF"
|
55 |
+
r"\U0001F700-\U0001F77F"
|
56 |
+
r"\U0001F780-\U0001F7FF"
|
57 |
+
r"\U0001F800-\U0001F8FF"
|
58 |
+
r"\U0001F900-\U0001F9FF"
|
59 |
+
r"\U0001FA00-\U0001FA6F"
|
60 |
+
r"\U0001FA70-\U0001FAFF"
|
61 |
+
r"\u2600-\u26FF"
|
62 |
+
r"\u2700-\u27BF]+)"
|
|
|
63 |
)
|
64 |
|
65 |
def replace_emoji(match):
|
66 |
emoji = match.group(1)
|
|
|
67 |
emoji = unicodedata.normalize('NFC', emoji)
|
|
|
68 |
return f'<font face="{emoji_font}">{emoji}</font>'
|
69 |
|
|
|
70 |
segments = []
|
71 |
last_pos = 0
|
72 |
for match in emoji_pattern.finditer(text):
|
73 |
start, end = match.span()
|
|
|
74 |
if last_pos < start:
|
75 |
segments.append(f'<font face="Helvetica">{text[last_pos:start]}</font>')
|
|
|
76 |
segments.append(replace_emoji(match))
|
77 |
last_pos = end
|
|
|
78 |
if last_pos < len(text):
|
79 |
segments.append(f'<font face="Helvetica">{text[last_pos:]}</font>')
|
80 |
return ''.join(segments)
|
81 |
|
|
|
82 |
def markdown_to_pdf_content(markdown_text, plain_text_mode, auto_bold_numbers):
|
83 |
lines = markdown_text.strip().split('\n')
|
84 |
pdf_content = []
|
|
|
108 |
total_lines = len(pdf_content)
|
109 |
return pdf_content, total_lines
|
110 |
|
|
|
111 |
def create_pdf(markdown_text, base_font_size, plain_text_mode, num_columns, auto_bold_numbers):
|
112 |
buffer = io.BytesIO()
|
113 |
page_width = A4[0] * 2
|
|
|
122 |
item_font_size = base_font_size
|
123 |
section_font_size = base_font_size * 1.1
|
124 |
|
|
|
125 |
section_style = ParagraphStyle(
|
126 |
'SectionStyle', parent=styles['Heading2'], fontName="Helvetica-Bold",
|
127 |
textColor=colors.darkblue, fontSize=section_font_size, leading=section_font_size * 1.2, spaceAfter=2
|
|
|
179 |
buffer.seek(0)
|
180 |
return buffer.getvalue()
|
181 |
|
|
|
182 |
def pdf_to_image(pdf_bytes):
|
183 |
try:
|
184 |
doc = fitz.open(stream=pdf_bytes, filetype="pdf")
|
|
|
193 |
st.error(f"Failed to render PDF preview: {e}")
|
194 |
return None
|
195 |
|
|
|
196 |
with st.spinner("Generating PDF..."):
|
197 |
pdf_bytes = create_pdf(st.session_state.markdown_content, base_font_size, plain_text_mode, num_columns, auto_bold_numbers)
|
198 |
|
|
|
207 |
with st.sidebar:
|
208 |
st.download_button(label="Download PDF", data=pdf_bytes, file_name="deities_guide.pdf", mime="application/pdf")
|
209 |
|
210 |
+
default_markdown = """# Deities Guide: Mythology and Moral Lessons ๐โจ
|
211 |
+
|
212 |
+
1. ๐ **Introduction**
|
213 |
+
- **Purpose**: Explore deities, spirits, saints, and beings with their epic stories and morals! ๐๐
|
214 |
+
- **Usage**: A guide for learning and storytelling across traditions. ๐ญโ๏ธ
|
215 |
+
- **Themes**: Justice โ๏ธ, faith ๐, hubris ๐ค, redemption ๐, cosmic order ๐.
|
216 |
+
|
217 |
+
2. ๐ ๏ธ **Core Concepts of Divinity**
|
218 |
+
- **Powers**: Creation ๐, omniscience ๐๏ธโ๐จ๏ธ, shapeshifting ๐ฆ across entities.
|
219 |
+
- **Life Cycle**: Mortality ๐, immortality โจ, transitions like saints and avatars ๐.
|
220 |
+
- **Communication**: Omens ๐ฉ๏ธ, visions ๐๏ธ, miracles โจ from gods and spirits.
|
221 |
+
|
222 |
+
3. โก **Standard Abilities**
|
223 |
+
- **Creation**: Gods and spirits shape worlds, e.g., Allah ๐ and Vishnu ๐.
|
224 |
+
- **Influence**: Saints and prophets intercede, like Muhammad ๐ and Paul โ๏ธ.
|
225 |
+
- **Transformation**: Angels and avatars shift forms, e.g., Gabriel ๐ and Krishna ๐ฆ.
|
226 |
+
- **Knowledge**: Foresight ๐ฎ or revelation ๐, as with the Holy Spirit ๐๏ธ and Brahma ๐ง .
|
227 |
+
- **Judgment**: Divine authority ๐, e.g., Yahweh โ๏ธ and Yama ๐.
|
228 |
+
|
229 |
+
4. โณ **Mortality and Immortality**
|
230 |
+
- **Gods**: Eternal โฐ, like Allah ๐ and Shiva ๐๏ธ.
|
231 |
+
- **Spirits**: Realm-bound ๐ , e.g., jinn ๐ฅ and devas โจ.
|
232 |
+
- **Saints/Prophets**: Mortal to divine ๐โก๏ธ๐, e.g., Moses ๐ and Rama ๐น.
|
233 |
+
- **Beings**: Limbo states โ, like cherubim ๐ and rakshasas ๐น.
|
234 |
+
- **Lessons**: Faith ๐ and duty โ๏ธ define transitions.
|
235 |
+
|
236 |
+
5. ๐ **Ascension and Signs**
|
237 |
+
- **Paths**: Birth ๐ถ, deeds ๐ก๏ธ, revelation ๐, as with Jesus โ๏ธ and Arjuna ๐น.
|
238 |
+
- **Signs**: Miracles โจ and prophecies ๐ฎ, like those in the Quran ๐ and Gita ๐.
|
239 |
+
- **Morals**: Obedience ๐ง and devotion โค๏ธ shape destiny ๐.
|
240 |
+
|
241 |
+
6. ๐ฒ **Storytelling and Games**
|
242 |
+
- **Portrayal**: Gods, spirits, and saints in narratives or RPGs ๐ฎ๐.
|
243 |
+
- **Dynamics**: Clerics โช, imams ๐, and sadhus ๐ง serve higher powers.
|
244 |
+
- **Balance**: Power ๐ช vs. personality ๐ for depth.
|
245 |
+
|
246 |
+
7. ๐ฎ **Dungeon Mastering Beings**
|
247 |
+
- **Gods**: Epic scope ๐, e.g., Allah โจ and Vishnu ๐.
|
248 |
+
- **Spirits**: Local influence ๐๏ธ, like jinn ๐ฅ and apsaras ๐.
|
249 |
+
- **Saints**: Moral anchors โ, e.g., St. Francis ๐พ and Ali โ๏ธ.
|
250 |
+
|
251 |
+
8. ๐ **Devotee Relationships**
|
252 |
+
- **Clerics**: Serve gods, e.g., Krishnaโs priests ๐ฆ.
|
253 |
+
- **Mediums**: Channel spirits, like jinn whisperers ๐ฅ๐๏ธ.
|
254 |
+
- **Faithful**: Venerate saints and prophets, e.g., Fatimaโs followers ๐น.
|
255 |
+
|
256 |
+
9. ๐ฆ
**American Indian Traditions**
|
257 |
+
- **Coyote, Raven, White Buffalo Woman**: Trickster kin ๐ฆ๐ฆ and wise mother ๐.
|
258 |
+
- **Relation**: Siblings and guide teach balance โ๏ธ.
|
259 |
+
- **Lesson**: Chaos ๐ช๏ธ breeds wisdom ๐ง .
|
260 |
+
|
261 |
+
10. โ๏ธ **Arthurian Legends**
|
262 |
+
- **Merlin, Morgan le Fay, Arthur**: Mentor ๐ง, rival ๐งโโ๏ธ, son ๐.
|
263 |
+
- **Relation**: Family tests loyalty ๐ค.
|
264 |
+
- **Lesson**: Honor ๐ก๏ธ vs. betrayal ๐ก๏ธ.
|
265 |
+
|
266 |
+
11. ๐๏ธ **Babylonian Mythology**
|
267 |
+
- **Marduk, Tiamat, Ishtar**: Son โ๏ธ, mother ๐, lover โค๏ธ.
|
268 |
+
- **Relation**: Kinship drives order ๐ฐ.
|
269 |
+
- **Lesson**: Power ๐ช reshapes chaos ๐ช๏ธ.
|
270 |
+
|
271 |
+
12. โ๏ธ **Christian Trinity**
|
272 |
+
- **God (Yahweh), Jesus, Holy Spirit**: Father ๐, Son โ๏ธ, Spirit ๐๏ธ.
|
273 |
+
- **Relation**: Divine family redeems ๐.
|
274 |
+
- **Lesson**: Faith ๐ restores grace โจ.
|
275 |
+
|
276 |
+
13. ๐ **Christian Saints & Angels**
|
277 |
+
- **St. Michael, Gabriel, Mary**: Warrior โ๏ธ, messenger ๐, mother ๐น.
|
278 |
+
- **Relation**: Heavenly kin serve God ๐.
|
279 |
+
- **Lesson**: Duty โ๏ธ upholds divine will ๐.
|
280 |
+
|
281 |
+
14. ๐ **Celtic Mythology**
|
282 |
+
- **Lugh, Morrigan, Cernunnos**: Son โ๏ธ, mother ๐ฆ, father ๐ฆ.
|
283 |
+
- **Relation**: Family governs cycles ๐.
|
284 |
+
- **Lesson**: Courage ๐ช in fate ๐ฒ.
|
285 |
+
|
286 |
+
15. ๐ **Central American Traditions**
|
287 |
+
- **Quetzalcoatl, Tezcatlipoca, Huitzilopochtli**: Brothers ๐๐ and war son โ๏ธ.
|
288 |
+
- **Relation**: Sibling rivalry creates ๐.
|
289 |
+
- **Lesson**: Sacrifice ๐ฉธ builds worlds ๐ฐ.
|
290 |
+
|
291 |
+
16. ๐ **Chinese Mythology**
|
292 |
+
- **Jade Emperor, Nuwa, Sun Wukong**: Father ๐, mother ๐, rebel son ๐.
|
293 |
+
- **Relation**: Family enforces harmony ๐ถ.
|
294 |
+
- **Lesson**: Duty โ๏ธ curbs chaos ๐ช๏ธ.
|
295 |
+
|
296 |
+
17. ๐ **Cthulhu Mythos**
|
297 |
+
- **Cthulhu, Nyarlathotep, Yog-Sothoth**: Elder kin ๐๐๏ธโ๐จ๏ธ๐.
|
298 |
+
- **Relation**: Cosmic trio overwhelms ๐ฑ.
|
299 |
+
- **Lesson**: Insignificance ๐ humbles ๐.
|
300 |
+
|
301 |
+
18. โฅ **Egyptian Mythology**
|
302 |
+
- **Ra, Osiris, Isis**: Father โ๏ธ, son โฐ๏ธ, mother ๐.
|
303 |
+
- **Relation**: Family ensures renewal ๐.
|
304 |
+
- **Lesson**: Justice โ๏ธ prevails.
|
305 |
+
|
306 |
+
19. โ๏ธ **Finnish Mythology**
|
307 |
+
- **Vรคinรคmรถinen, Louhi, Ukko**: Son ๐ถ, mother โ๏ธ, father โก.
|
308 |
+
- **Relation**: Kinship tests wisdom ๐ง .
|
309 |
+
- **Lesson**: Perseverance ๐๏ธ wins.
|
310 |
+
|
311 |
+
20. ๐๏ธ **Greek Mythology**
|
312 |
+
- **Zeus, Hera, Athena**: Father โก, mother ๐, daughter ๐ฆ.
|
313 |
+
- **Relation**: Family rules with tension โ๏ธ.
|
314 |
+
- **Lesson**: Hubris ๐ค meets wisdom ๐ง .
|
315 |
+
|
316 |
+
21. ๐๏ธ **Hindu Trimurti**
|
317 |
+
- **Brahma, Vishnu, Shiva**: Creator ๐, preserver ๐ก๏ธ, destroyer ๐ฅ.
|
318 |
+
- **Relation**: Divine trio cycles existence ๐.
|
319 |
+
- **Lesson**: Balance โ๏ธ sustains life ๐.
|
320 |
+
|
321 |
+
22. ๐บ **Hindu Avatars & Devis**
|
322 |
+
- **Krishna, Rama, Durga**: Sons ๐ฆ๐น and fierce mother ๐ก๏ธ.
|
323 |
+
- **Relation**: Avatars and goddess protect dharma โ๏ธ.
|
324 |
+
- **Lesson**: Duty โ๏ธ defeats evil ๐น.
|
325 |
+
|
326 |
+
23. ๐ธ **Japanese Mythology**
|
327 |
+
- **Amaterasu, Susanoo, Tsukuyomi**: Sister โ๏ธ, brothers ๐๐.
|
328 |
+
- **Relation**: Siblings balance cosmos ๐.
|
329 |
+
- **Lesson**: Harmony ๐ถ vs. chaos ๐ช๏ธ.
|
330 |
+
|
331 |
+
24. ๐ก๏ธ **Melnibonean Legends**
|
332 |
+
- **Arioch, Xiombarg, Elric**: Lords ๐ and mortal son โ๏ธ.
|
333 |
+
- **Relation**: Pact binds chaos ๐ช๏ธ.
|
334 |
+
- **Lesson**: Power ๐ช corrupts ๐.
|
335 |
+
|
336 |
+
25. โช๏ธ **Muslim Divine & Messengers**
|
337 |
+
- **Allah, Muhammad, Gabriel**: God ๐, prophet ๐, angel ๐.
|
338 |
+
- **Relation**: Messenger reveals divine will ๐.
|
339 |
+
- **Lesson**: Submission ๐ brings peace โฎ๏ธ.
|
340 |
+
|
341 |
+
26. ๐ป **Muslim Spirits & Kin**
|
342 |
+
- **Jinn, Iblis, Khidr**: Spirits ๐ฅ๐ and guide ๐ฟ defy or aid.
|
343 |
+
- **Relation**: Supernatural kin test faith ๐.
|
344 |
+
- **Lesson**: Obedience ๐ง vs. rebellion ๐ก.
|
345 |
+
|
346 |
+
27. ๐ฐ **Nehwon Legends**
|
347 |
+
- **Death, Ningauble, Sheelba**: Fateful trio ๐๐๏ธโ๐จ๏ธ๐ฟ.
|
348 |
+
- **Relation**: Guides shape destiny ๐ฒ.
|
349 |
+
- **Lesson**: Cunning ๐ง defies fate โฐ๏ธ.
|
350 |
+
|
351 |
+
28. ๐ง **Nonhuman Traditions**
|
352 |
+
- **Corellon, Moradin, Gruumsh**: Elf ๐ง, dwarf โ๏ธ, orc ๐ก๏ธ fathers.
|
353 |
+
- **Relation**: Rivals define purpose โ๏ธ.
|
354 |
+
- **Lesson**: Community ๐ค endures.
|
355 |
+
|
356 |
+
29. แฑ **Norse Mythology**
|
357 |
+
- **Odin, Frigg, Loki**: Father ๐๏ธ, mother ๐, trickster son ๐ฆ.
|
358 |
+
- **Relation**: Family faces doom โก.
|
359 |
+
- **Lesson**: Sacrifice ๐ฉธ costs.
|
360 |
+
|
361 |
+
30. ๐ฟ **Sumerian Mythology**
|
362 |
+
- **Enki, Inanna, Anu**: Son ๐, daughter โค๏ธ, father ๐.
|
363 |
+
- **Relation**: Kin wield knowledge ๐ง .
|
364 |
+
- **Lesson**: Ambition ๐ shapes.
|
365 |
+
|
366 |
+
31. ๐ **Appendices**
|
367 |
+
- **Planes**: Realms of gods, spirits, saints, e.g., Paradise ๐ and Svarga โจ.
|
368 |
+
- **Symbols**: Rituals ๐๏ธ and artifacts ๐ฟ of faith.
|
369 |
+
- **Charts**: Domains and duties for devotees ๐.
|
370 |
+
|
371 |
+
32. ๐ **Planes of Existence**
|
372 |
+
- **Heaven/Paradise**: Christian/Muslim abode ๐.
|
373 |
+
- **Svarga**: Hindu divine realm โจ.
|
374 |
+
- **Underworld**: Spirits linger, e.g., Sheol โฐ๏ธ and Naraka ๐ฅ.
|
375 |
+
|
376 |
+
33. ๐ **Temple Trappings**
|
377 |
+
- **Cross/Crescent**: Christian/Muslim faith โ๏ธโช๏ธ.
|
378 |
+
- **Mandalas**: Hindu devotion ๐.
|
379 |
+
- **Relics**: Saintsโ and prophetsโ legacy ๐๏ธ.
|
380 |
+
|
381 |
+
34. ๐ **Clerical Chart**
|
382 |
+
- **Gods**: Domains, e.g., creation ๐ and mercy โค๏ธ.
|
383 |
+
- **Spirits**: Influence, like guidance ๐ฟ and mischief ๐.
|
384 |
+
- **Saints/Prophets**: Virtues, e.g., justice โ๏ธ and prophecy ๐ฎ.
|
|
|
385 |
"""
|
386 |
|
387 |
create_pdf_tab(default_markdown)
|