Skip to content

Instantly share code, notes, and snippets.

@jae-the-castaway
Created May 20, 2022 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jae-the-castaway/3fe18ffd7ff25aa97719b01d6f044cdd to your computer and use it in GitHub Desktop.
Save jae-the-castaway/3fe18ffd7ff25aa97719b01d6f044cdd to your computer and use it in GitHub Desktop.
<!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">
<title>Markdown Cheatsheet</title>
<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=Roboto+Mono:ital,wght@0,100;0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:wght@300;400;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Header section below -->
<header>
<h1>Markdown Cheat Sheet</h1>
<h2>A basic syntax for the markdown</h2>
</header>
<!-- Table section below -->
<div class="table-section">
<table>
<thead>
<th scope="col">Element</th>
<th scope="col">Markdown Syntax</th>
</thead>
<tbody>
<tr>
<th scope="row">Heading</th>
<td># H1 <br>
## H2 <br>
### H3</td>
</tr>
<tr>
<th scope="row">Bold</th>
<td>**bold text**</td>
</tr>
<tr>
<th scope="row">Italic</th>
<td>*italicized text*</td>
</tr>
<tr>
<th scope="row">Blockquote</th>
<td>> blockquote</td>
</tr>
<tr>
<th scope="row">Ordered List</th>
<td>1. First item <br>
2. Second item <br>
3. Third item</td>
</tr>
<tr>
<th scope="row">Unordered List</th>
<td>- First item <br>
- Second item <br>
- Third item</td>
</tr>
<tr>
<th scope="row">Code</th>
<td>`code`</td>
</tr>
<tr>
<th scope="row">Horizontal Rule</th>
<td>---</td>
</tr>
<tr>
<th scope="row">Link</th>
<td>[title](https://www.example.com)</td>
</tr>
<tr>
<th scope="row">Image</th>
<td>![alt text](image.jpg)</td>
</tr>
</tbody>
</table>
</div>
<!-- Footer section below -->
<footer>
<p>created by <a href="https://www.instagram.com/jae_the_castaway/" class="link"> jae_the_castaway</a></p>
<p>Data from <a href="https://www.markdownguide.org/cheat-sheet/" class="link"> markdownguide.org</a></p>
</footer>
</body>
</html>
/* Universal section */
* {
font-family: 'Roboto Mono', monospace;
background-color: #07101b;
/* color: #e4e4e4; */
box-sizing: border-box;
}
/* Header section */
header {
margin-left: 100px;
}
h1 {
color: #e4e4e4;
font-size: 100px;
font-weight: 900;
margin-bottom: 0%;
}
h2 {
color: #a7a9ad;
font-size: 30px;
margin-top: 0%;
}
/* Table section */
table,
th,
td{
border: 1px solid #333;
}
table {
margin: 100px 100px;
table-layout: fixed;
width: 80%;
border-collapse: collapse;
border: 3px solid #0bdc73;
}
th,
td{
padding: 10px;
}
th[scope="col"] {
color: #e4e4e4;
font-size: 30px;
text-align: center;
border-bottom: 4px double #0bdc73;
}
th[scope="row"] {
color: #a7a9ad;
font-size: 20px;
font-weight: 700;
}
td {
color: #a7a9ad;
font-size: 20px;
text-align: center;
}
/* Footer section */
footer {
color: #a7a9ad;
padding: 10px 0 0 100px;
}
a {
color: #0bdc73;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment