|  | 
| 1 | 1 | <!DOCTYPE HTML> | 
| 2 |  | -        <!--generated with sswg--> | 
| 3 |  | -        <html lang="en"> | 
| 4 |  | -        <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
| 5 |  | -        <head> | 
| 6 |  | -            <title>index</title> | 
| 7 |  | -            <link rel="stylesheet" href="sswg.css"> | 
| 8 |  | -            <link rel="stylesheet" href="style.css"> | 
| 9 |  | -            <link rel="icon" type="image/x-icon" href="favicon.ico"> | 
| 10 |  | -        </head> | 
| 11 |  | -        <body> | 
| 12 |  | -        <left><div style="font-weight: bold;max-width: 1000px; margin: auto;font-size: 100.0px;"> | 
| 13 |  | -Simple Static Website Generator<br> | 
| 14 |  | -<div style="font-size: 30.0px;font-weight: normal;"> | 
| 15 |  | -<br> | 
| 16 |  | -A Markdown inspired markup language.<br> | 
|  | 2 | +<!--generated with sswg--> | 
|  | 3 | +<html lang="en"> | 
|  | 4 | +<meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
|  | 5 | +<head> | 
|  | 6 | +    <title>index</title> | 
|  | 7 | +    <link rel="stylesheet" href="sswg.css"> | 
|  | 8 | +    <link rel="stylesheet" href="style.css"> | 
|  | 9 | +    <link rel="icon" type="image/x-icon" href="favicon.ico"> | 
|  | 10 | +</head> | 
|  | 11 | +<body> | 
|  | 12 | +<div style="max-width:1200px; margin:auto;"> | 
|  | 13 | +<div style="text-align:left;"> | 
|  | 14 | +</div> | 
|  | 15 | +<div style="max-width:1000px; margin:auto;"> | 
|  | 16 | +<h1 id="Simple Static Website Generator"> | 
|  | 17 | +Simple Static Website Generator | 
|  | 18 | +</h1>A Markdown inspired markup language.<br> | 
| 17 | 19 | Converts the text files in a folder into web pages.<br> | 
| 18 | 20 | Use the tags below to style it.<br> | 
| 19 | 21 | <br> | 
| 20 | 22 | <br> | 
| 21 |  | -<h2><div id="Installation"/><br> | 
| 22 |  | -Installation<br> | 
| 23 |  | -</h2><br> | 
| 24 |  | -<br> | 
| 25 |  | -1) Install Python<br> | 
|  | 23 | +<h2 id="Installation"> | 
|  | 24 | +Installation | 
|  | 25 | +</h2>1) Install Python<br> | 
| 26 | 26 | <br> | 
| 27 | 27 | 2) Install sswg:<br> | 
|  | 28 | +<code_block id="code_block_0" style="margin:auto;">pip install https://github.com/pokepetter/sswg/archive/refs/heads/master.zip | 
|  | 29 | +</code_block> | 
|  | 30 | +<br> | 
|  | 31 | +<h2 id="How to Run"> | 
|  | 32 | +How to Run | 
|  | 33 | +</h2>cd into the folder where your text files are and run:<br> | 
|  | 34 | +<br> | 
|  | 35 | +<code_block id="code_block_1" style="margin:auto;">python -m sswg | 
|  | 36 | +</code_block> | 
|  | 37 | +<br> | 
| 28 | 38 | <br> | 
| 29 |  | -<div class="code_block" id="code_block_0" style="margin-left: 0em;"><button class="copy_code_button" onclick="copy_to_clipboard(code_block_0)">copy</button>pip install <a href="https://github.com/pokepetter/sswg/archive/refs/heads/master.zip">https://github.com/pokepetter/sswg/archive/refs/heads/master.zip</a> | 
| 30 |  | -</div><br> | 
| 31 |  | -<h2><div id="How to Run"/><br> | 
| 32 |  | -How to Run<br> | 
| 33 |  | -</h2><br> | 
| 34 |  | -<br> | 
| 35 |  | -cd into the folder where your text files are and run:<br> | 
| 36 |  | -<br> | 
| 37 |  | -<div class="code_block" id="code_block_1" style="margin-left: 0em;"><button class="copy_code_button" onclick="copy_to_clipboard(code_block_1)">copy</button>python -m sswg | 
| 38 |  | -</div><br> | 
| 39 |  | -<br> | 
| 40 |  | -<h2><div id="Tags"/><br> | 
| 41 |  | -Tags<br> | 
| 42 |  | -</h2><br> | 
| 43 |  | -<br> | 
| 44 |  | -<div class="code_block" id="code_block_2" style="margin-left: 0em;"><button class="copy_code_button" onclick="copy_to_clipboard(code_block_2)">copy</button> - <gray># size <yellow>1</yellow>.<yellow>2</yellow><yellow>5</yellow></gray> | 
| 45 |  | - - <gray># width <yellow>9</yellow><yellow>0</yellow><yellow>0</yellow></gray> | 
| 46 |  | - - <gray># left, right, center</gray> | 
| 47 |  | - - <gray># normal, bold, bolder, lighter</gray> | 
| 48 |  | - - <gray># image imagename</gray> | 
| 49 |  | - - <gray># arial, times, helvetica, courier, verdana, tahoma, bookman, monospace</gray> | 
| 50 |  | - - <gray># background colorname</gray> | 
| 51 |  | - - <gray># code (start code block)</gray> | 
| 52 |  | - - <gray># text (end code block)</gray> | 
| 53 |  | - - <gray># insert some_file.txt</gray> | 
| 54 |  | - - <gray>#<gray># (create header with size <yellow>2</yellow>)</gray> | 
| 55 |  | - - <gray>#<gray>#<gray># (create header with size <yellow>3</yellow>)</gray> | 
| 56 |  | - - <gray>#<gray>#<gray>#<gray># (create header with size <yellow>6</yellow>)</gray> | 
| 57 |  | - - [Button Name, <a href="https://pokepetter.github.io/sswg/]">https://pokepetter.github.io/sswg/]</a> | 
| 58 |  | - - [Button Name, <a href="https://pokepetter.github.io/sswg/,">https://pokepetter.github.io/sswg/,</a> image_name.jpg] (big button) | 
|  | 39 | +<h2 id="Tags"> | 
|  | 40 | +Tags | 
|  | 41 | +</h2><code_block id="code_block_2" style="margin:auto;"> - # size 1.25 | 
|  | 42 | + - # width 900 | 
|  | 43 | + - # left, right, center | 
|  | 44 | + - # normal, bold, bolder, lighter | 
|  | 45 | + - # image imagename | 
|  | 46 | + | 
|  | 47 | + - #code (start code block) | 
|  | 48 | + - #text (end code block) | 
|  | 49 | + - #insert some_file.txt | 
|  | 50 | + - ## (create header with size 2) | 
|  | 51 | + - ### (create header with size 3) | 
|  | 52 | + - #### (create header with size 6) | 
|  | 53 | + - [Button Name, https://pokepetter.github.io/sswg/] | 
|  | 54 | + - [Button Name, https://pokepetter.github.io/sswg/, image_name.jpg] (big button) | 
| 59 | 55 |  - [Button Name, header name] | 
| 60 |  | - - <gray># insert other_file.txt</gray> | 
| 61 |  | - - <gray># index other_file.text (creates links to all the headers(<gray>#<gray>#) in the file)</gray> | 
| 62 |  | -</div><br> | 
|  | 56 | + - #insert other_file.txt | 
|  | 57 | + - #index other_file.text (creates links to all the headers(##) in the file) | 
|  | 58 | +</code_block> | 
| 63 | 59 | <br> | 
| 64 |  | -<h2><div id="Style Override"/><br> | 
| 65 |  | -Style Override<br> | 
| 66 |  | -</h2><br> | 
| 67 | 60 | <br> | 
| 68 |  | -Create a style.css file and it will get loaded automatically.<br> | 
|  | 61 | +<h2 id="Style Override"> | 
|  | 62 | +Style Override | 
|  | 63 | +</h2>Create a style.css file and it will get loaded automatically.<br> | 
| 69 | 64 | This will style all the pages in the project.<br> | 
| 70 | 65 | <br> | 
| 71 | 66 | To style a specific page, you can include the style inside < style > tags at<br> | 
| 72 | 67 | the top of the document<br> | 
| 73 | 68 | <br> | 
| 74 |  | -<h2><div id="Example Website"/><br> | 
| 75 |  | -Example Website<br> | 
| 76 |  | -</h2><br> | 
| 77 |  | -<br> | 
| 78 |  | -<div class="code_block" id="code_block_3" style="margin-left: 0em;"><button class="copy_code_button" onclick="copy_to_clipboard(code_block_3)">copy</button><gray># center, bold, arial, size <yellow>5</yellow></gray> | 
| 79 |  | - | 
| 80 |  | -ursina engine | 
| 81 |  | -ʕ •ᴥ•ʔゝ□ | 
| 82 |  | -<gray># size <yellow>1</yellow>.<yellow>2</yellow><yellow>5</yellow>, bold</gray> | 
| 83 |  | --------------------------------------- | 
| 84 |  | -<gray># normal</gray> | 
| 85 |  | -pip install ursina | 
| 86 |  | -<gray># bold</gray> | 
| 87 |  | --------------------------------------- | 
| 88 |  | - | 
| 89 |  | -<gray># left, width <yellow>9</yellow><yellow>0</yellow><yellow>0</yellow>, size <yellow>2</yellow></gray> | 
| 90 |  | -Powered by Python | 
| 91 |  | -<gray># normal, size <yellow>1</yellow></gray> | 
|  | 69 | +<h2 id="Example Website"> | 
|  | 70 | +Example Website | 
|  | 71 | +</h2><code_block id="code_block_3" style="margin:auto;">### ursina engine ʕ •ᴥ•ʔゝ□ | 
|  | 72 | +`pip install ursina` | 
| 92 | 73 | 
 | 
|  | 74 | +## Powered by Python | 
| 93 | 75 | Lorem Ipsum sit dolor et amet. | 
| 94 |  | -</div><br> | 
| 95 |  | -<img src="example_website.jpg"></img> <br> | 
| 96 |  | -<br> | 
| 97 |  | -<br> | 
| 98 |  | -<h2><div id="Made with sswg"/><br> | 
| 99 |  | -Made with sswg<br> | 
| 100 |  | -</h2><br> | 
|  | 76 | +</code_block> | 
| 101 | 77 | <br> | 
| 102 |  | -<a href="https://www.ursinaengine.org/">https://www.ursinaengine.org/</a><br> | 
|  | 78 | +<img src="example_website.jpg"></img> <br> | 
| 103 | 79 | <br> | 
|  | 80 | +<h2 id="Made with sswg"> | 
|  | 81 | +Made with sswg | 
|  | 82 | +</h2><a href="https://www.ursinaengine.org/">https://www.ursinaengine.org/</a><br> | 
| 104 | 83 | <a href="https://pokepetter.github.io/sswg/">https://pokepetter.github.io/sswg/</a><br> | 
| 105 |  | -<br> | 
| 106 | 84 | <a href="https://pokepetter.github.io/taptapir/website/sunsnake.html">https://pokepetter.github.io/taptapir/website/sunsnake.html</a><br> | 
| 107 | 85 | <br> | 
| 108 |  | -<br> | 
| 109 | 86 | <br> | 
| 110 | 87 |  (\_/)<br> | 
| 111 | 88 |  (>.<)<br> | 
|  | 
0 commit comments