Skip to content

Commit 194e8de

Browse files
committed
Revert "Updated community resources page"
This reverts commit d0999b6.
1 parent d0999b6 commit 194e8de

15 files changed

+5371
-25
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Resource request template
3+
about: Used to request resources.
4+
title: "[RESOURCE REQUEST]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### What topic do you want covered?
11+
12+
### Do you have a preference for API or language used to discuss the topic?

LaTexMD/index.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Using LaTex in markdown
2+
3+
Since GitHub markdown doesn't natively support LaTex, we use markdeep.
4+
Specifically, a slightly modified version of markdeep to look like GitHub markdown.
5+
6+
Using markdeep is relatively straight forward. You write your markdown as you normally would, and use the special markdeep syntax for its extra features (the syntax is explained on [their website](https://casual-effects.com/markdeep/)).
7+
Besides that you add the script snippets at the bottom of your markdown file, and save it with the extension `.md.html`. Note that the index file must be named `index.html` if you're using markdeep features.
8+
The script snippets can be found in [template.md.html](template.md.html).
9+
10+
# Requirements
11+
12+
1. You are not allowed to use a different style sheet, we want all pages to look uniform across the website.
13+
2. In the script tags use **relative** paths to the style sheet and script.
14+
This is so that the markdown can be viewed in the browser without a webserver. Which also makes it easier to write as you can test it locally.
15+
3. When linking to normal markdown, use paths ending in `filename.html` and not `filename.md`, this is to make the browsing experience on GitHub pages leaner. When the path ends with `index.md` just supply the folder path.
16+
As far as I know there's no way to link to both as with normal GitHub markdown, where we can just point to the .md file and have it be transformed to the html path in GitHub pages. So we opt for linking to the generated HTML versions here.

LaTexMD/template.md.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This is the LaTex template
2+
3+
The stuff below will make sure the markdown gets transformed to viewable markdown in your browser.
4+
5+
This markdown flavor has a few differences from GitHub markdown:
6+
* Nested lists don't have to be aligned, 2 spaces are enough.
7+
* To insert a single newline, use <code>&lt;br/&gt;</code> instead of 2 spaces and a return.
8+
* To insert raw HTML as inline code use raw code tags with escaped greater/smaller than brackets.
9+
* To insert raw HTML as code between 3 backticks, escape greater/smaller than brackets.<br/>
10+
The escapes are `&amp;lt;` for < and `&amp;gt;` for >.
11+
12+
Now for some LaTex: $\vec{c}=\vec{ac}a+\sum_{j=0}^{c}\vec{c}+\max\left(\vec{n}\cdot\frac{\vec{l_p}_j-\vec{p}}{\|\vec{l_p}_j-\vec{p}},0\right)\vec{l_c}_j\left(\frac{i_j}{\left(\vec{l_p}_j-\vec{p}\right)\cdot\left(\vec{l_p}_j-\vec{p}\right)}\right)\vec{sc}$.
13+
14+
For more information on the features see https://casual-effects.com/markdeep/
15+
16+
<!-- Markdeep: -->
17+
<style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style>
18+
<script src="../scripts/markdeep.js"></script>
19+
<script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
20+
<link rel="stylesheet" href="../css/github-markdown.css"/>

_config.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
title: Graphics Programming Resources
2+
plugins:
3+
- jekyll-relative-links
4+
relative-links:
5+
enabled: true
6+
collections: true
7+
include:
8+
- CONTRIBUTING.md
9+
- CODE_OF_CONDUCT.md
10+
- LICENSE.md

0 commit comments

Comments
 (0)