Skip to content

Commit

Permalink
new try2
Browse files Browse the repository at this point in the history
  • Loading branch information
FacuDeLorenzo committed Aug 16, 2024
1 parent 99f559e commit ae873a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -21,22 +21,22 @@ jobs:

- name: Install pandoc
run: |
sudo apt-get install -y pandoc texlive-latex-recommended \
sudo apt-get install -y pandoc texlive-latex-recommended texlive-xetex \
texlive-pictures texlive-latex-extra texlive-fonts-recommended
npm i -g mermaid-filter
- name: install mermaid-filter and Convert Markdown to PDF
run: |
pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf
# pip install pandoc-mermaid-filter
# for file in $(find . -name '*.md'); do
# pdf_file="${file%.md}.pdf"
# pandoc --filter=pandoc-mermaid-filter "$file" -o "$pdf_file" --pdf-engine=xelatex
# done
pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf --pdf-engine=xelatex
pip install pandoc-mermaid-filter
for file in $(find . -name '*.md'); do
pdf_file="${file%.md}.pdf"
pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf
done
- name: Upload PDFs as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: converted-pdfs
path: '**/*.pdf'
1 change: 1 addition & 0 deletions cool-root-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ graph TD
ACLManager --> L2Pool
end
```

## Main sequence diagram
```sequence
participant User
Expand Down

0 comments on commit ae873a8

Please sign in to comment.