Skip to content

Markdown Guide

Karahan Sarıtaş edited this page Jun 11, 2022 · 6 revisions

This page is created to help us become familiar with some of the Markdown tricks which may become very useful for our wiki page.


Listing

1.1.
  • 1.1.1.

    • 1.1.1.1.
    • 1.1.1.2.
  • 1.1.2.

    • 1.1.2.1.

Syntax:

<details>
    <summary> 1.1. User Requirements</summary>
* 1.1.1. 
    * 1.1.1.1. 
    * 1.1.1.2. 
* 1.1.2. 
    * 1.1.2.1. 
    </details>

Table

Week Assignment
Week 1 Percolation
Week 2 Queues
Week 3 Collinear
Week 4 8 Puzzle
Week 5 Kd-Trees

Syntax:

| Week          | Assignment    |
| ------------- |:-------------:| 
| Week 1        | Percolation   |
| Week 2        | Queues        |
| Week 3        | Collinear     |
| Week 4        | 8 Puzzle      |
| Week 5        | Kd-Trees      |

Listing

  • Initialize all sites to be blocked.
    • Repeat the following until the system percolates:
    • Choose a site uniformly at random among all blocked sites.
    • Open the site.
    • The fraction of sites that are opened when the system percolates provides an estimate of the percolation threshold.

Syntax:

* 1.
  * 1.1.
   * 1.1.1.
   * 1.1.2.
   * 1.1.3.

Explicit Link

Syntax:

* https://coursera.cs.princeton.edu/algs4/assignments/percolation/specification.php
* https://en.wikipedia.org/wiki/Percolation

Embedded Link

Syntax:

* [WordNet](https://wordnet.princeton.edu/)
* [Underlying Algorithm](https://www.youtube.com/watch?v=6NcIJXTlugc)
* [Default Argument](https://www.geeksforgeeks.org/default-arguments-in-python/)

Subscript

  • xi
  • xt

Syntax:

* x<sub>i</sub>
* x<sub>t</sub>

Superscript

  • sr
  • xxk

Syntax:

* s<sup>r</sub>
* x<sup>x<sup>k</sup></sup>

Italic

  • gate, logic gate
  • AND circuit, AND gate
  • di = distance(xi, x1) + distance(xi, x2) + ... + distance(xi, xn)

Syntax:

* _gate, logic gate_
*  _AND circuit, AND gate_ 
* _d<sub>i</sub>   =   distance(x<sub>i</sub>, x<sub>1</sub>) + distance(x<sub>i</sub>, x<sub>2</sub>) + ... + distance(x<sub>i</sub>, x<sub>n</sub>)_

Image

WhatsApp Image 2022-02-21 at 16 29 36

Syntax:

![WhatsApp Image 2022-02-21 at 16 29 36](https://user-images.githubusercontent.com/44376034/156889673-51475512-fcc7-4345-9af4-eea0ef17618e.jpeg)

Emphasis

  • This can be done via Dijkstra's algorithm, dynamic programming, greedy algorithm or graph cuts among others.
This can be done via <b>Dijkstra's algorithm</b>, <b>dynamic programming</b>, <b>greedy algorithm</b> or <b>graph cuts</b> among others.

Code Snippet

  • At some point during the season, team i has w[i] wins, l[i] losses, r[i] remaining games, and g[i][j] games left to play against team j.
def period(length):
    T = 2*(3.14)*pow(length/9.8, 1/2)
    return T

L = float(input())
print(period(L))

Latex for Markdown

Syntax:

* <img src="https://render.githubusercontent.com/render/math?math=\large ax^{2} %2B bx %2B c">
* <img src="https://render.githubusercontent.com/render/math?math=\large x = (-b \pm \sqrt{b^{2} - 4ac}) /2a ">
*  <img src="https://render.githubusercontent.com/render/math?math=\large f({\bf x}) = 1 %2B x %2B \frac{x^2} {2!} %2B \frac{x^3} {3!} %2B \frac{x^4} {4!} %2B \ldots">
* <img src="https://render.githubusercontent.com/render/math?math=\large x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}">
* <img src="https://render.githubusercontent.com/render/math?math=\large \dfrac{\pi}{180}">
* <img src="https://render.githubusercontent.com/render/math?math=\large T = 2\pi\sqrt{\dfrac{L}{g}}">
* <img src="https://render.githubusercontent.com/render/math?math=\large H(n, r)=\frac{1}{1^r} %2B  \frac{1}{2^r} %2B  ... %2B \frac{1}{n^r}">
* <img src="https://render.githubusercontent.com/render/math?math=\large y_0=y - \frac{(14 - m)}{12}">
* <img src="https://render.githubusercontent.com/render/math?math=\large x=y_0 %2B \frac{y_0}{4} - \frac{y_0}{100} %2B \frac{y_0}{400}">
* <img src="https://render.githubusercontent.com/render/math?math=\large m_0=m %2B 12 * (\frac{14 - m}{12}) - 2">
* <img src="https://render.githubusercontent.com/render/math?math=\large d_0= (d %2B  x %2B  \frac{31*m_0}{12}) \mod 7 ">

Home 🏠

Project 💻

Practice Application 💻

Group Members 👨‍💻

Research 🔍

Timesheets 📝

CMPE451 Meeting Notes 🗒️

General Meetings

Frontend Meetings

Backend Meetings

Mobile Meetings

CMPE352 Meeting Notes 🗒️

Clone this wiki locally