---
# System prepended metadata

title: Untitled

---

## Basic markdown (MD) document template for easy editing

To create this webpage, I used the [features tutorial](https://hackmd.io/features?both) to copy-paste then modify bits that looked like I'd want to use them in the future. I recommend you check that page out along with this current one. **Looking at the code and compiled webpage side by side** (middle button above, between pencil and eye icon) is most helpful for me when I learn. Most of the features I used below are also available as buttons in the editor. 

Make yourself a HackMD account and start a new note. Like me, you can copy-paste then modify what you want to use from this page (the markdown code on the **left**, not the compiled webpage on the right). I'm confident you'll soon get a feel for how this works.

### Task:
1. Your first task is to create and publish a markdown page like this, using the following elements, then to paste the link to the google sheet back in moodle so we can use these to get to know each other a little better. Share anything you'd like to share with the rest of the class in the form of:
+ a link
+ a list
+ a table
+ a code block

2. Your second task is to read at least 3 other classmates' markdown documents and comment on it. Feel free to comment on mine, but I don't count as a classmate!

Below is my example. It includes a mix of these elements and a little bit more explanation of how to do things like *italics*, **bold**, etc. 


### 1. Links
Links are useful, for example to keep track of papers related to projects. I'd like to be able to add links to these papers so I can always find them back. You can use square brackets followed by parentheses (no space in between) to create links. 

Like many others during lockdown, I explored cooking a bit. I learned how to make noodles from scratch using a recipe from [this webpage](https://healthynibblesandbits.com/).

### 2. Lists
*Lists* are useful for keeping track of things, like to-do steps for projects and the results that belong to each step. One asterisk on either side of a word make italics.

#### Unordered lists

You can make a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
  - Marker character change forces new list start:

* Here are some media I've been consuming lately:
    + Babysitter's club - I read these books at a kid! It's now a show on Netflix
    - Superior - I'm reading this book by Angela Saini about the return of "race science" so we can read parts of it together in class
    - Red Mars - I'm a fan of science fiction and am reading this book by Kim Stanley Robinson about how humanity might colonize and terraform the planet Mars


#### Ordered lists

1. just add numbers to a
2. list to make it ordered 
3. though apparently you 
1. do not need to make 
6. them actually sequential
8. since markdown will fix it


### 3. Tables from csv
At some point you may want to include **csv tables** in your notes. For example, this could be useful for including results of code for your own reference. And two asterisks make bold.

Here are some of my default meals I cook depending on the mood.

```csvpreview {header="true"}
mood, meal
lazy, oven nachos
healthy, cold noodles with lots of raw veggies
comfort, various forms of tteokbokki (korean rice cakes)
```


### 4. Code block
We definitely want to include ***code*** since a big point of keeping these notes will be to organize what code worked for you and what it did. Also, three asterisks make bold italics.

While you can simply indicate in-line `code` using back ticks, for the most part you'll be using blocks of code in your notes.

Block code uses "fences" - three back ticks at the top and bottom. You can use R code here or any type of code or just strings of words here. You'll have some code from lab soon enough!

This code takes two files and combines them in a way that I found useful for understanding what kinds of functions were included in COG K and O. 

```
awk -F "\t" 'NR==FNR {a[$1]=$3; next} ($1 in a){print $1,$4,a[$1]}' OFS="\t" cognames2003-2014.tab dicty.COG_K_O.txt
```


