xcatliu / pagic

A static site generator powered by Deno + React
https://pagic.org
MIT License
1.64k stars 104 forks source link

Markdown deflist plugins #91

Closed ziqiq closed 3 years ago

ziqiq commented 3 years ago

This patch integrates markdown deflist plugins(ebcff63 2020-09-10) and adjusts corresponding style.

Examples:

Definition - Undirected Graph
: An undirected graph is an ordered pair $G=(V,E)$ comprising
  - $V$, a set of vertices
  - $E \subseteq \{\{x,y\}| x \in V, y \in V, x \neq y\}$, a set of undirected edges
Screen Shot 2021-08-16 at 12 06 50 PM
Definition - Walk, trail, and path
: A walk in a undirected graph $G=(V,E)$ is a sequence of vertices $v_1 v_2 ...$ where $\{v_i, v_{i+1}\} \in E$
: A trail is a walk where all edges are distinct.
: A path is a walk where all vertices are distinct.
Screen Shot 2021-08-16 at 12 28 29 PM