This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11
55 lines (38 loc) · 1.66 KB
/
markdown-workout.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Markdown Workout
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: markdown summary checks
run: |
cat <<-EOF >> "$GITHUB_STEP_SUMMARY"
# Github Step Summary Markdown Workout
Since the GITHUB_STEP_SUMMARY allows different markdown rules than other places on Github, this workflow is just a test of various features.
# Mermaid diagrams
\`\`\`mermaid
graph TD;
Anna-->Bob;
Anna-->Carol;
Bob-->David;
Carol-->David;
\`\`\`
# Tables with nested html elements for multiline cells.
| Title | Something else |
|-------|----------------|
| multi-line | Line One<br>Line Two<br>Line Three<br>Line Four<br>Line Two<br>Line Five |
| single line | Just this |
| multiple paragraphs | <p>paragraphs</p><p>paragraphs</p><p>paragraphs</p> |
| <p align="center"><img src="https://github.com/cutbox/CutBox/raw/master/CutBox/CutBox/GraphicAssets/cutbox-icon.png"/></p> | image wrapped in aligned paragraph |
# Html elements with style
<p style="color: red"> I am red. doesn't work.</p>
<p color="red">Try the old school attribute</p>
<p align="center"><img src="https://github.com/cutbox/CutBox/raw/master/CutBox/CutBox/GraphicAssets/cutbox-icon.png"/></p>
<p>Paragraph elements + align attr work</p>
Linebreak with br<br>
Don't work as you expect, and do larger line spacing than parapraphs.
<p> <br> <img> - work _kinda_.
# That's all for now...
EOF