Skip to content

Instantly share code, notes, and snippets.

View R3V1Z3's full-sized avatar

R3V1Z3 R3V1Z3

  • Los Angeles, CA
View GitHub Profile

Storie demo - Custom Markdown

This is a test to verify custom markdown loading works!

print("=== Custom Markdown Loaded! ===")
print("This is from test_demo.md")
@R3V1Z3
R3V1Z3 / snow.lua
Created November 4, 2025 06:21
Example of animated snow in the terminal using Storie engine.
-- snow.lua - Realistic snow effect module for Storie
-- Can be embedded in any Markdown content with:
-- ```lua module:snow
-- [paste this file content]
-- ```
local Snow = {}
-- Configuration
local SNOW_COUNT = 50
title minWidth minHeight
Box Drawing Test
60
25
function globalRender()
  buffer:clear()
  
 -- Title
title minWidth minHeight
UI
60
25
local UI = {}

local Widget = {}
Widget.__index = Widget
title author player
Forest Adventure
Storied
x y inventory flags
4
2
title author minWidth minHeight
Storie Formatting Demo
Demo
60
20

Inline Formatting Demo

Welcome to the enhanced Storie engine with inline formatting support!

title minWidth minHeight
Sliders
40
15
local UI = {}

local Widget = {}
title minWidth minHeight
Box Drawing
40
10
function globalRender()
  buffer:clear()
  
-- Canvas Navigation Plugin for Storied
-- Provides spatial layout, smooth panning, and interactive link navigation
local Canvas = {}
-- Configuration
local SECTION_WIDTH = 60
local SECTION_HEIGHT = 20
local SECTION_PADDING = 10
local MAX_SECTIONS_PER_ROW = 3
──▒▒▒▒▒▒───▄████▄
─▒─▄▒─▄▒──███▄█▀
─▒▒▒▒▒▒▒─▐████──█─█
─▒▒▒▒▒▒▒──█████▄
─▒─▒─▒─▒───▀████▀
twitter.com/ArtsAscii