add makefile to compile md file to html

This commit is contained in:
Aarya Bhatia 2024-03-30 17:52:46 -05:00
parent b2a74355bf
commit b9936764ee
4 changed files with 252 additions and 89 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
all: index.html
index.html: index.md template.html
pandoc --template template.html -f markdown -t html5 index.md -o index.html
prettier index.html --write
clean:
rm -rf index.html

View File

@ -1,38 +1,67 @@
<!DOCTYPE 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">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- favicons -->
<link type="image/png" sizes="16x16" rel="icon" href="static/favicon/icons8-console-material-sharp-16.png">
<link type="image/png" sizes="32x32" rel="icon" href="static/favicon/icons8-console-material-sharp-32.png">
<link type="image/png" sizes="96x96" rel="icon" href="static/favicon/icons8-console-material-sharp-96.png">
<link
type="image/png"
sizes="16x16"
rel="icon"
href="static/favicon/icons8-console-material-sharp-16.png"
/>
<link
type="image/png"
sizes="32x32"
rel="icon"
href="static/favicon/icons8-console-material-sharp-32.png"
/>
<link
type="image/png"
sizes="96x96"
rel="icon"
href="static/favicon/icons8-console-material-sharp-96.png"
/>
<!-- css -->
<link rel="stylesheet" type="text/css" href="static/normalize.css">
<link rel="stylesheet" type="text/css" href="static/normalize.css" />
<!-- simplecss -->
<!-- <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> -->
<!-- sakura css -->
<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" media="screen" type="text/css">
<link
rel="stylesheet"
href="https://unpkg.com/sakura.css/css/sakura.css"
media="screen"
type="text/css"
/>
<!-- uncomment for dark mode -->
<!-- <link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura-dark.css" media="screen and (prefers-color-scheme: dark)" /> -->
<!-- custom css -->
<link rel="stylesheet" type="text/css" href="static/index.css">
<link rel="stylesheet" type="text/css" href="static/index.css" />
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
/>
<!-- icons -->
<script src="https://kit.fontawesome.com/89988d9d38.js" crossorigin="anonymous"></script>
<script
src="https://kit.fontawesome.com/89988d9d38.js"
crossorigin="anonymous"
></script>
<meta name="date" content="2024-03-30" />
<title>Aarya Bhatia</title>
</head>
<body>
@ -42,63 +71,80 @@
<hr />
<div style="padding: 10px">
<a href="mailto:aarya.bhatia1678@gmail.com"><i class="fa-lg fa-regular fa-envelope"></i></a>
<a href="mailto:aarya.bhatia1678@gmail.com"
><i class="fa-lg fa-regular fa-envelope"></i
></a>
&nbsp;
<a href="https://www.github.com/aarya-bhatia/"><i class="fa-lg fa-regular fa-github"></i></a>
<a href="https://www.github.com/aarya-bhatia/"
><i class="fa-lg fa-regular fa-github"></i
></a>
&nbsp;
<a href="https://www.linkedin.com/in/aarya-bhatia/"><i class="fa-lg fa-regular fa-linkedin"></i></a>
<a href="https://www.linkedin.com/in/aarya-bhatia/"
><i class="fa-lg fa-regular fa-linkedin"></i
></a>
&nbsp;
<a href="https://www.instagram.com/aarya.bhatia/"><i class="fa-lg fa-regular fa-instagram"></i></a>
<a href="https://www.instagram.com/aarya.bhatia/"
><i class="fa-lg fa-regular fa-instagram"></i
></a>
</div>
<main>
<h2>Introduction</h2>
<p>I am a student pursuing a Bachelor's degree in Applied
Mathematics and Computer Science from the University of
Illinois, at Urbana-Champaign. I grew up in India and came to
study in the US in 2020. I will graduate in May to start
working full-time as a software developer.</p>
<h2>Skills</h2>
<p>I am experienced in full-stack web development and systems
programming. I am proficient in Linux and C, C++, Python, Go,
Javascript and SQL. I have worked with several frameworks like
Express.js and Flask.py. I love problem-solving and being the
most efficient version of myself. My workflow uses neovim, tmux
and i3.</p>
<h2>Work Experience</h2>
<p>Most recently, I worked as a SDE intern at Amazon, where I
developed shipped several website improvments in React.js.
Presently, I am a course assistant at my university for CS340,
where we teach about computer systems and C programming.</p>
<h2>Hobbies</h2>
<p>I am a trained musician with my primary instrument being the
electric guitar. I have been playing guitar for over a decade. For
fun, I enjoy playing sports like badminton and hiking.</p>
<!-- the following block of html is auto-generated... -->
<h2 id="introduction">Introduction</h2>
<p>
I am a student pursuing a Bachelors degree in Applied Mathematics and
Computer Science from the University of Illinois, at Urbana-Champaign. I
grew up in India and came to study in the US in 2020. I will graduate in
May to start working full-time as a software developer.
</p>
<h2 id="skills">Skills</h2>
<p>
I am experienced in full-stack web development and systems programming.
I am proficient in Linux and C, C++, Python, Go, Javascript and SQL. I
have worked with several frameworks like Express.js and Flask.py. I love
problem-solving and being the most efficient version of myself. My
workflow uses neovim, tmux and bspwm.
</p>
<h2 id="work-experience">Work Experience</h2>
<p>
Most recently, I worked as a SDE intern at Amazon, where I developed
shipped several website improvments in React.js. Presently, I am a
course assistant at my university for CS340, where we teach about
computer systems and C programming.
</p>
<h2 id="hobbies">Hobbies</h2>
<p>
I am a trained musician with my primary instrument being the electric
guitar. I have been playing guitar for over a decade. For fun, I enjoy
playing sports like badminton and hiking.
</p>
<h2>Contact Me</h2>
<form action="mailto:aaryab.alertservice@gmail.com" method="post" enctype="text/plain">
<form
action="mailto:aaryab.alertservice@gmail.com"
method="post"
enctype="text/plain"
>
<label for="name">Name</label>
<input required type="text" name="name" id="name" placeholder="Name" />
<br/>
<br />
<label for="email">Email</label>
<input required type="email" name="email" id="email" placeholder="Email" />
<br/>
<input
required
type="email"
name="email"
id="email"
placeholder="Email"
/>
<br />
<label for="message">Message</label>
<textarea required name="message" id="message"></textarea>
<br/>
<br />
<button type="submit">Send</button>
</form>
</main>
<footer>
</footer>
<footer></footer>
</body>
</html>

32
index.md Normal file
View File

@ -0,0 +1,32 @@
---
title: Aarya Bhatia
date: 2024-03-30
---
## Introduction
I am a student pursuing a Bachelor's degree in Applied Mathematics and Computer
Science from the University of Illinois, at Urbana-Champaign. I grew up in
India and came to study in the US in 2020. I will graduate in May to start
working full-time as a software developer.
## Skills
I am experienced in full-stack web development and systems programming. I am
proficient in Linux and C, C++, Python, Go, Javascript and SQL. I have worked
with several frameworks like Express.js and Flask.py. I love problem-solving
and being the most efficient version of myself. My workflow uses neovim, tmux
and bspwm.
## Work Experience
Most recently, I worked as a SDE intern at Amazon, where I developed
shipped several website improvments in React.js. Presently, I am a course
assistant at my university for CS340, where we teach about computer systems
and C programming.
## Hobbies
I am a trained musician with my primary instrument being the electric guitar. I
have been playing guitar for over a decade. For fun, I enjoy playing sports
like badminton and hiking.

77
template.html Normal file
View File

@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- favicons -->
<link type="image/png" sizes="16x16" rel="icon" href="static/favicon/icons8-console-material-sharp-16.png">
<link type="image/png" sizes="32x32" rel="icon" href="static/favicon/icons8-console-material-sharp-32.png">
<link type="image/png" sizes="96x96" rel="icon" href="static/favicon/icons8-console-material-sharp-96.png">
<!-- css -->
<link rel="stylesheet" type="text/css" href="static/normalize.css">
<!-- simplecss -->
<!-- <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> -->
<!-- sakura css -->
<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" media="screen" type="text/css">
<!-- uncomment for dark mode -->
<!-- <link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura-dark.css" media="screen and (prefers-color-scheme: dark)" /> -->
<!-- custom css -->
<link rel="stylesheet" type="text/css" href="static/index.css">
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap">
<!-- icons -->
<script src="https://kit.fontawesome.com/89988d9d38.js" crossorigin="anonymous"></script>
<meta name="date" content="$date$">
<title>$title$</title>
</head>
<body>
<header>
<h1>Aarya Bhatia</h1>
</header>
<hr />
<div style="padding: 10px">
<a href="mailto:aarya.bhatia1678@gmail.com"><i class="fa-lg fa-regular fa-envelope"></i></a>
&nbsp;
<a href="https://www.github.com/aarya-bhatia/"><i class="fa-lg fa-regular fa-github"></i></a>
&nbsp;
<a href="https://www.linkedin.com/in/aarya-bhatia/"><i class="fa-lg fa-regular fa-linkedin"></i></a>
&nbsp;
<a href="https://www.instagram.com/aarya.bhatia/"><i class="fa-lg fa-regular fa-instagram"></i></a>
</div>
<main>
<!-- the following block of html is auto-generated... -->
$body$
<h2>Contact Me</h2>
<form action="mailto:aaryab.alertservice@gmail.com" method="post" enctype="text/plain">
<label for="name">Name</label>
<input required type="text" name="name" id="name" placeholder="Name" />
<br/>
<label for="email">Email</label>
<input required type="email" name="email" id="email" placeholder="Email" />
<br/>
<label for="message">Message</label>
<textarea required name="message" id="message"></textarea>
<br/>
<button type="submit">Send</button>
</form>
</main>
<footer>
</footer>
</body>
</html>