feat: archi
Signed-off-by: Superkooka <aymeric.gueracague@gmail.com>
This commit is contained in:
parent
72f0d10379
commit
7ec6154ce0
|
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/env janet
|
||||
|
||||
(def to-ast
|
||||
~{
|
||||
:ws (set " \t\r\f\n\0\v")
|
||||
:readermac (set "';~,|")
|
||||
:symchars (+ (range "09" "AZ" "az" "\x80\xFF") (set "!$%&*+-./:<?=>@^_"))
|
||||
:token (some :symchars)
|
||||
:hex (range "09" "af" "AF")
|
||||
:escape (* "\\" (+ (set `"'0?\abefnrtvz`)
|
||||
(* "x" :hex :hex)
|
||||
(* "u" [4 :hex])
|
||||
(* "U" [6 :hex])
|
||||
(error (constant "bad escape"))))
|
||||
:comment (* "#" (any (if-not (+ "\n" -1) 1)))
|
||||
:symbol :token
|
||||
:keyword (* ":" (any :symchars))
|
||||
:constant (* (+ "true" "false" "nil") (not :symchars))
|
||||
:bytes (* "\"" (any (+ :escape (if-not "\"" 1))) "\"")
|
||||
:string :bytes
|
||||
:buffer (* "@" :bytes)
|
||||
:long-bytes {:delim (some "`")
|
||||
:open (capture :delim :n)
|
||||
:close (cmt (* (not (> -1 "`")) (-> :n) '(backmatch :n)) ,=)
|
||||
:main (drop (* :open (any (if-not :close 1)) :close))}
|
||||
:long-string :long-bytes
|
||||
:long-buffer (* "@" :long-bytes)
|
||||
:number (cmt (<- :token) ,scan-number)
|
||||
:raw-value (+ :comment :constant :number :keyword
|
||||
:string :buffer :long-string :long-buffer
|
||||
:parray :barray :ptuple :btuple :struct :dict :symbol)
|
||||
:value (* (any (+ :ws :readermac)) :raw-value (any :ws))
|
||||
:root (any :value)
|
||||
:root2 (any (* :value :value))
|
||||
:ptuple (* "(" :root (+ ")" (error "")))
|
||||
:btuple (* "[" :root (+ "]" (error "")))
|
||||
:struct (* "{" :root2 (+ "}" (error "")))
|
||||
:parray (* "@" :ptuple)
|
||||
:barray (* "@" :btuple)
|
||||
:dict (* "@" :struct)
|
||||
:main :root})
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
#!/usr/bin/env janet
|
||||
|
||||
(def to-ast
|
||||
"A custom markdown flavored grammar"
|
||||
~{
|
||||
# Symbole
|
||||
:end-of-line (* (? "\r") "\n")
|
||||
:space "\u0020"
|
||||
:tab (+ "\u0009" (4 :space))
|
||||
|
||||
:code-block-tag "```"
|
||||
:list-item-starter (+ "*" "-")
|
||||
:italic-tag "*"
|
||||
:bold-tag "**"
|
||||
:stroke-tag "~~"
|
||||
:code-line-tag "`"
|
||||
|
||||
:rich-text-tag (+ :italic-tag :bold-tag :stroke-tag :code-line-tag)
|
||||
:basic-text (some (if-not (+ :end-of-line :code-line-tag :stroke-tag :bold-tag :italic-tag) 1))
|
||||
|
||||
:c-basic-text (cmt (<- :basic-text),|[:text $0])
|
||||
|
||||
:bold (cmt (* :bold-tag :rich-text :bold-tag),|[:bold $0 $&])
|
||||
:italic (cmt (* :italic-tag :rich-text :italic-tag),|[:italic $0 $&])
|
||||
:stroke (cmt (* :stroke-tag :rich-text :stroke-tag),|[:stroke $0 $&])
|
||||
:code-line (cmt (* :code-line-tag (<- :rich-text) :code-line-tag),|[:code-line $0 $&])
|
||||
|
||||
:rich-text (cmt (some (+ :code-line :bold :italic :stroke :c-basic-text)),|(map (fn [arg] [(get arg 0) (get arg 1)]) $&))
|
||||
:line (cmt (* :rich-text :end-of-line),|[:line $0])
|
||||
|
||||
# Block
|
||||
:heading (cmt (* (<- (between 1 6 "#")) :space (<- :basic-text)),|[:heading (length $0) $1])
|
||||
:hr (cmt (* (at-least 3 (+ "-" "_" "*")) :end-of-line),|[:hr])
|
||||
:code-block (cmt (* :code-block-tag (? (<- :basic-text)) :end-of-line (<- (some (if-not :code-block-tag 1))) :code-block-tag),|[:code-block $0 $1])
|
||||
:quote (cmt (* ">" :space (? :rich-text)),|[:quote $0])
|
||||
:list-item (cmt (* (<- (? (between 0 2 :tab))) :list-item-starter :space :rich-text),|[:list-item (/ (length $0) 4) $1])
|
||||
:list (cmt (some (* :list-item (? :end-of-line))),|[:list $&])
|
||||
|
||||
:block (+ :heading
|
||||
:hr
|
||||
:code-block
|
||||
:quote
|
||||
:list
|
||||
:line
|
||||
:end-of-line)
|
||||
|
||||
:main (some (* :block (? :end-of-line)))})
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
#!/usr/bin/env janet
|
||||
|
||||
(import ./grammar/php :as php)
|
||||
(import ./grammar/janet :as janet)
|
||||
(import ./grammar/code/php :as php)
|
||||
(import ./grammar/code/janet :as janet)
|
||||
|
||||
(import ./grammar/page/markdown :as markdown-page)
|
||||
|
||||
(defn read-from-file [file-path]
|
||||
"Read a file from string filepath"
|
||||
|
|
@ -27,52 +29,6 @@
|
|||
(string/replace-all ">" ">"
|
||||
(string/replace-all "&" "&" value))))))
|
||||
|
||||
(def md-to-ast
|
||||
"A custom markdown flavored grammar"
|
||||
~{
|
||||
# Symbole
|
||||
:end-of-line (* (? "\r") "\n")
|
||||
:space "\u0020"
|
||||
:tab (+ "\u0009" (4 :space))
|
||||
|
||||
:code-block-tag "```"
|
||||
:list-item-starter (+ "*" "-")
|
||||
:italic-tag "*"
|
||||
:bold-tag "**"
|
||||
:stroke-tag "~~"
|
||||
:code-line-tag "`"
|
||||
|
||||
:rich-text-tag (+ :italic-tag :bold-tag :stroke-tag :code-line-tag)
|
||||
:basic-text (some (if-not (+ :end-of-line :code-line-tag :stroke-tag :bold-tag :italic-tag) 1))
|
||||
|
||||
:c-basic-text (cmt (<- :basic-text),|[:text $0])
|
||||
|
||||
:bold (cmt (* :bold-tag :rich-text :bold-tag),|[:bold $0 $&])
|
||||
:italic (cmt (* :italic-tag :rich-text :italic-tag),|[:italic $0 $&])
|
||||
:stroke (cmt (* :stroke-tag :rich-text :stroke-tag),|[:stroke $0 $&])
|
||||
:code-line (cmt (* :code-line-tag (<- :rich-text) :code-line-tag),|[:code-line $0 $&])
|
||||
|
||||
:rich-text (cmt (some (+ :code-line :bold :italic :stroke :c-basic-text)),|(map (fn [arg] [(get arg 0) (get arg 1)]) $&))
|
||||
:line (cmt (* :rich-text :end-of-line),|[:line $0])
|
||||
|
||||
# Block
|
||||
:heading (cmt (* (<- (between 1 6 "#")) :space (<- :basic-text)),|[:heading (length $0) $1])
|
||||
:hr (cmt (* (at-least 3 (+ "-" "_" "*")) :end-of-line),|[:hr])
|
||||
:code-block (cmt (* :code-block-tag (? (<- :basic-text)) :end-of-line (<- (some (if-not :code-block-tag 1))) :code-block-tag),|[:code-block $0 $1])
|
||||
:quote (cmt (* ">" :space (? :rich-text)),|[:quote $0])
|
||||
:list-item (cmt (* (<- (? (between 0 2 :tab))) :list-item-starter :space :rich-text),|[:list-item (/ (length $0) 4) $1])
|
||||
:list (cmt (some (* :list-item (? :end-of-line))),|[:list $&])
|
||||
|
||||
:block (+ :heading
|
||||
:hr
|
||||
:code-block
|
||||
:quote
|
||||
:list
|
||||
:line
|
||||
:end-of-line)
|
||||
|
||||
:main (some (* :block (? :end-of-line)))})
|
||||
|
||||
(defn code-ast-to-html
|
||||
[ast]
|
||||
(string/join
|
||||
|
|
@ -89,17 +45,17 @@
|
|||
ast)
|
||||
""))
|
||||
|
||||
(defn ast-to-html
|
||||
(defn page-ast-to-html
|
||||
"Convert an AST to html"
|
||||
[ast]
|
||||
(defn to-codeblock [lang value] (string "<pre class=\"my-4 p-4 highlighted-base\"><code>" (code-ast-to-html (peg/match (eval-string (string lang "/to-ast")) value)) "</code></pre>"))
|
||||
(defn to-codeline [value] (string "<code>" (ast-to-html value) "</code>"))
|
||||
(defn to-codeline [value] (string "<code>" (page-ast-to-html value) "</code>"))
|
||||
(defn to-heading [level value] (string "<h" level " class=\"my-4\">" (htmlspecialchars value) "</h" level ">"))
|
||||
(defn to-quote [value] (string "<blockquote class=\"my-4\">" (ast-to-html value) "</blockquote>"))
|
||||
(defn to-line [value] (string "<p class=\"my-4\">" (ast-to-html value) "</p>"))
|
||||
(defn to-italic [value] (string "<em>" (ast-to-html value) "</em>"))
|
||||
(defn to-bold [value] (string "<strong>" (ast-to-html value) "</strong>"))
|
||||
(defn to-stroke [value] (string "<stroke>" (ast-to-html value) "</stroke>"))
|
||||
(defn to-quote [value] (string "<blockquote class=\"my-4\">" (page-ast-to-html value) "</blockquote>"))
|
||||
(defn to-line [value] (string "<p class=\"my-4\">" (page-ast-to-html value) "</p>"))
|
||||
(defn to-italic [value] (string "<em>" (page-ast-to-html value) "</em>"))
|
||||
(defn to-bold [value] (string "<strong>" (page-ast-to-html value) "</strong>"))
|
||||
(defn to-stroke [value] (string "<stroke>" (page-ast-to-html value) "</stroke>"))
|
||||
|
||||
(string/join
|
||||
(map
|
||||
|
|
@ -129,8 +85,59 @@
|
|||
(print "]"))))
|
||||
|
||||
(defn main [bin & args]
|
||||
(pp-ast (peg/match md-to-ast (read-from-file "raw/~blog/blog.md")))
|
||||
(write-to-file "test4.html" (string
|
||||
(read-from-file "partial-template/header.html")
|
||||
(ast-to-html (peg/match md-to-ast (read-from-file "raw/~blog/blog.md")))
|
||||
(read-from-file "partial-template/footer.html"))))
|
||||
```
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400&display=swap" rel="stylesheet">
|
||||
<link href="public/highlight-style.css" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com/3.3.7"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': ['"Source Sans 3"'],
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<title>Meow</title>
|
||||
</head>
|
||||
|
||||
<body class="flex flex-row my-8">
|
||||
<nav class="my-8 ml-16 text-xl">
|
||||
<div class="flex flex-row">
|
||||
<ul class="flex flex-col mr-6">
|
||||
<li class="p-1 w-max"><a href="../index.html">Blog</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">Portfolio</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">À Propos de moi</a></li>
|
||||
</ul>
|
||||
<span class="after:content-[''] after:w-[1px] after:bg-black after:my-2 after:h-4/5 after:block"></span>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="my-8 ml-24 mr-[38rem] w-[100%] p-4">
|
||||
```
|
||||
(page-ast-to-html (peg/match markdown-page/to-ast (read-from-file "raw/~blog/blog.md")))
|
||||
```
|
||||
</main>
|
||||
<footer class="w-full fixed m-1 left-0 bottom-0 flex justify-center">
|
||||
<a class="mx-1 underline" href="#">Flux RSS</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Inspirer de Sidey</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">GitHub</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Instagram</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
```)))
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
</main>
|
||||
<footer class="w-full fixed m-1 left-0 bottom-0 flex justify-center">
|
||||
<a class="mx-1 underline" href="#">Flux RSS</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Inspirer de Sidey</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">GitHub</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Instagram</a>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400&display=swap" rel="stylesheet">
|
||||
<link href="public/highlight-style.css" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com/3.3.7"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': ['"Source Sans 3"'],
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<title>Meow</title>
|
||||
</head>
|
||||
|
||||
<body class="flex flex-row my-8">
|
||||
<nav class="my-8 ml-16 text-xl">
|
||||
<div class="flex flex-row">
|
||||
<ul class="flex flex-col mr-6">
|
||||
<li class="p-1 w-max"><a href="../index.html">Blog</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">Portfolio</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">À Propos de moi</a></li>
|
||||
</ul>
|
||||
<span class="after:content-[''] after:w-[1px] after:bg-black after:my-2 after:h-4/5 after:block"></span>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="my-8 ml-24 mr-[38rem] w-[100%] p-4">
|
||||
97
sample.html
97
sample.html
|
|
@ -1,97 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400&display=swap" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': ['"Source Sans 3"'],
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<title>Meow</title>
|
||||
</head>
|
||||
|
||||
<body class="flex flex-row my-8">
|
||||
<nav class="my-8 ml-16 text-xl">
|
||||
<div class="flex flex-row">
|
||||
<ul class="flex flex-col mr-6">
|
||||
<li class="p-1 w-max"><a href="../index.html">Blog</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">Portfolio</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">À Propos de moi</a></li>
|
||||
</ul>
|
||||
<span class="after:content-[''] after:w-[1px] after:bg-black after:my-2 after:h-4/5 after:block"></span>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="my-8 ml-24 mr-[38rem]">
|
||||
<h1 class="text-3xl my-4">Suspendisse quam dolor, sollicitudin nec velit sodales, tempus iaculis elit.</h1>
|
||||
<h2 class="text-xl text-[#747474] italic my-4">Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,
|
||||
consectetur, adipisci velit...</h2>
|
||||
<div class="text-[#404852]">
|
||||
<p class="my-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus porta erat non maximus
|
||||
porttitor. Etiam massa felis,
|
||||
luctus at eros nec, vestibulum sodales dolor. Donec pellentesque, tellus eu pharetra fringilla, arcu
|
||||
sapien fringilla
|
||||
nulla, eget gravida arcu mi eu diam. In hac habitasse platea dictumst. Vestibulum neque mauris, faucibus
|
||||
eget hendrerit
|
||||
molestie, ultrices sed purus. In porttitor scelerisque euismod. Sed ultrices efficitur interdum.
|
||||
Maecenas massa urna,
|
||||
lobortis ac arcu ac, hendrerit ultricies turpis. Nulla in consectetur justo, sit amet elementum lacus.
|
||||
</p>
|
||||
<p class="my-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae consequat massa. Aliquam
|
||||
egestas pellentesque
|
||||
elementum. Ut efficitur justo eu libero vestibulum dapibus. Etiam vitae turpis nunc. Maecenas sit amet
|
||||
elementum dolor.
|
||||
In luctus tellus non rhoncus dictum. Mauris laoreet velit velit, in pellentesque enim auctor a. Nulla at
|
||||
lacus vel magna
|
||||
lacinia tincidunt. Ut aliquet suscipit tincidunt.
|
||||
|
||||
Nulla arcu tortor, aliquet quis congue in, vestibulum vitae arcu. Duis nisi ex, tincidunt quis
|
||||
condimentum in,
|
||||
sollicitudin quis nisi. In fringilla ultricies venenatis. Aliquam a quam eros. Curabitur eget tincidunt
|
||||
orci. Quisque
|
||||
hendrerit porta augue, eget venenatis diam pellentesque sed. Sed pellentesque vitae urna blandit
|
||||
lobortis. Sed tellus
|
||||
nulla, rutrum rhoncus ante at, lacinia efficitur augue. Pellentesque habitant morbi tristique senectus
|
||||
et netus et
|
||||
malesuada fames ac turpis egestas. Nam eget dolor ut augue commodo lacinia et at dolor. Sed ut vehicula
|
||||
lacus. Integer
|
||||
semper vehicula dignissim.
|
||||
</p>
|
||||
<h3 class="text-black text-xl">Donec vitae nisl in sem viverra cursus.</h3>
|
||||
<p class="my-3">Suspendisse dictum urna nunc, non laoreet tortor vulputate eget. Praesent sit amet risus a
|
||||
lacus eleifend bibendum.
|
||||
Vivamus et placerat tellus, ut tristique nibh. Maecenas porttitor ex ac turpis interdum iaculis. Etiam
|
||||
egestas erat non
|
||||
metus vehicula, viverra vulputate est condimentum. Interdum et malesuada fames ac ante ipsum primis in
|
||||
faucibus. Nam
|
||||
vehicula diam sed pharetra malesuada. Etiam non libero et risus viverra volutpat. Donec in justo tortor.
|
||||
Mauris gravida
|
||||
finibus sem eget lacinia. Praesent lacinia posuere lacus eget dignissim. Morbi tempus mauris id ante
|
||||
aliquet finibus.
|
||||
Quisque ut dignissim neque, ut accumsan urna. Morbi interdum erat eu erat tempus finibus.
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="w-full fixed m-1 left-0 bottom-0 flex justify-center">
|
||||
<a class="mx-1 underline" href="#">Flux RSS</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Inspirer de Sidey</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">GitHub</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Instagram</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
28
sample.php
28
sample.php
|
|
@ -1,28 +0,0 @@
|
|||
<?php
|
||||
|
||||
// Yolo
|
||||
|
||||
/* yo yo yo */
|
||||
|
||||
/*
|
||||
HY
|
||||
dsidh */
|
||||
|
||||
class Hey {
|
||||
|
||||
}
|
||||
|
||||
const HELLO = "test";
|
||||
|
||||
$u = 25;
|
||||
|
||||
function abc(int $u = 2, App\Test $test): void
|
||||
{
|
||||
$u*7;
|
||||
return;
|
||||
}
|
||||
|
||||
$λ = fn () => "yolo";
|
||||
$🎈 = "balooooon";
|
||||
$u_a = 2;
|
||||
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400&display=swap" rel="stylesheet">
|
||||
<link href="public/highlight-style.css" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com/3.3.7"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': ['"Source Sans 3"'],
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<title>Meow</title>
|
||||
</head>
|
||||
|
||||
<body class="flex flex-row my-8">
|
||||
<nav class="my-8 ml-16 text-xl">
|
||||
<div class="flex flex-row">
|
||||
<ul class="flex flex-col mr-6">
|
||||
<li class="p-1 w-max"><a href="../index.html">Blog</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">Portfolio</a></li>
|
||||
<li class="p-1 w-max"><a href="index.html">À Propos de moi</a></li>
|
||||
</ul>
|
||||
<span class="after:content-[''] after:w-[1px] after:bg-black after:my-2 after:h-4/5 after:block"></span>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="my-8 ml-24 mr-[38rem] w-[100%] p-4">
|
||||
<h1 class="my-4">JDOSHDS</h1><h2 class="my-4">dkjsdjksla</h2><h3 class="my-4">DJIS</h3><p class="my-4"><em>dsd</em><strong>ds</strong></p><p class="my-4"><strong><em>dsds</em></strong></p><p class="my-4">dskldks <strong>dksl</strong> dskjds <em>od</em> dlakdl;as <stroke>dd</stroke> djklas ds <code>ds</code> ds</p><blockquote class="my-4">dsds <strong>HEHJKS</strong></blockquote><pre class="my-4 p-4 highlighted-base"><code><?php
|
||||
|
||||
<span class="highlighted-comment">// Yolo</span>
|
||||
|
||||
<span class="highlighted-comment">/* yo yo yo */</span>
|
||||
|
||||
<span class="highlighted-comment">/*
|
||||
HY
|
||||
dsidh */</span>
|
||||
|
||||
<span class="highlighted-keyword">class</span> Hey {
|
||||
|
||||
}
|
||||
|
||||
<span class="highlighted-keyword">const</span> HELLO = <span class="highlighted-string">"test"</span>;
|
||||
|
||||
<span class="highlighted-variable">$u</span> = 25;
|
||||
|
||||
<span class="highlighted-keyword">function</span> abc(<span class="highlighted-variable">int</span> <span class="highlighted-variable">$u</span> = 2, App\Test <span class="highlighted-variable">$test</span>): <span class="highlighted-variable">void</span>
|
||||
{
|
||||
<span class="highlighted-variable">$u</span>*7;
|
||||
<span class="highlighted-keyword">return</span>;
|
||||
}
|
||||
|
||||
<span class="highlighted-variable">$λ</span> = <span class="highlighted-keyword">fn</span> () => <span class="highlighted-string">"yolo"</span>;
|
||||
<span class="highlighted-variable">$🎈</span> = <span class="highlighted-string">"balooooon"</span>;
|
||||
<span class="highlighted-variable">$u_a</span> = 2;
|
||||
</code></pre> </main>
|
||||
<footer class="w-full fixed m-1 left-0 bottom-0 flex justify-center">
|
||||
<a class="mx-1 underline" href="#">Flux RSS</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Inspirer de Sidey</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">GitHub</a>
|
||||
<span class="mx-1">•</span>
|
||||
<a class="mx-1 underline" href="#">Instagram</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue