aboutsummaryrefslogtreecommitdiffhomepage
path: root/3-ruby-tags/index.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-16 03:28:54 +0900
committernsfisis <nsfisis@gmail.com>2025-04-16 03:28:54 +0900
commit52c3d0499e3fbf4930034ab452af3f562f5672ed (patch)
treed3c165f9362b9c6768b4c1af0fd4e6f1b5951015 /3-ruby-tags/index.html
parent0d39bfde42901478e8ca5e22b146263b94658a5f (diff)
downloadtrick-2025-52c3d0499e3fbf4930034ab452af3f562f5672ed.tar.gz
trick-2025-52c3d0499e3fbf4930034ab452af3f562f5672ed.tar.zst
trick-2025-52c3d0499e3fbf4930034ab452af3f562f5672ed.zip
initial commitHEADmain
Diffstat (limited to '3-ruby-tags/index.html')
-rw-r--r--3-ruby-tags/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/3-ruby-tags/index.html b/3-ruby-tags/index.html
new file mode 100644
index 0000000..63a6a6d
--- /dev/null
+++ b/3-ruby-tags/index.html
@@ -0,0 +1,45 @@
+<html>
+ <script src="https://cdn.jsdelivr.net/npm/@ruby/3.4-wasm-wasi@2.7.1/dist/browser.script.iife.js"></script>
+ <script type="text/ruby" src="entry.rb"></script>
+ <title>TRICK 2025 (Episode I)</title>
+ <body>
+ <style>
+ pre {
+ background-color: #eee;
+ color: #333;
+ padding: 1em;
+ border-radius: 4px;
+ overflow: auto;
+ }
+
+ .COMMENT {
+ color: #777;
+ font-style: italic;
+ }
+
+ .CONSTANT, .GLOBAL_VARIABLE, .INSTANCE_VARIABLE, .IDENTIFIER {
+ color: #088;
+ }
+
+ .KEYWORD_BREAK, .KEYWORD_CASE, .KEYWORD_DEF, .KEYWORD_ELSE, .KEYWORD_END, .KEYWORD_IF, .KEYWORD_IF_MODIFIER, .KEYWORD_WHEN {
+ color: #04c;
+ font-weight: bold;
+ }
+
+ .INTEGER, .KEYWORD_NIL {
+ color: #990;
+ }
+
+ .STRING_BEGIN, .STRING_END, .HEREDOC_START, .HEREDOC_END, .REGEXP_BEGIN, .REGEXP_END, .SYMBOL_BEGIN, .LABEL, .STRING_CONTENT {
+ color: #d50;
+ }
+
+ ruby * {
+ user-select: none;
+ }
+ </style>
+ <main>
+ <pre style="font-size: 16px;"><code id="src"></code></pre>
+ </main>
+ </body>
+</html>