Prathamesh Sarjerao Vaidya
commited on
Commit
·
810697e
1
Parent(s):
ac05a0f
update main & check.yml
Browse files
.github/workflows/check.yml
CHANGED
|
@@ -341,11 +341,6 @@ jobs:
|
|
| 341 |
|
| 342 |
chmod +x preprocess_markdown.py
|
| 343 |
|
| 344 |
-
# Download GitHub highlight theme
|
| 345 |
-
- name: Download GitHub highlight theme
|
| 346 |
-
run: |
|
| 347 |
-
wget https://raw.githubusercontent.com/jgm/pandoc/master/data/highlight/github.theme -O github.theme
|
| 348 |
-
|
| 349 |
# Convert MD to PDF with enhanced processing
|
| 350 |
- name: Convert MD to PDF with enhanced processing
|
| 351 |
run: |
|
|
@@ -385,7 +380,7 @@ jobs:
|
|
| 385 |
--standalone \
|
| 386 |
--toc \
|
| 387 |
--number-sections \
|
| 388 |
-
--
|
| 389 |
--wrap=auto \
|
| 390 |
--dpi=300 \
|
| 391 |
--verbose 2>/dev/null || {
|
|
@@ -400,7 +395,7 @@ jobs:
|
|
| 400 |
--css="$GITHUB_WORKSPACE/styles.css" \
|
| 401 |
--toc \
|
| 402 |
--number-sections \
|
| 403 |
-
--
|
| 404 |
-o "$dir/$filename.html"
|
| 405 |
|
| 406 |
if [ -f "$dir/$filename.html" ]; then
|
|
|
|
| 341 |
|
| 342 |
chmod +x preprocess_markdown.py
|
| 343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 344 |
# Convert MD to PDF with enhanced processing
|
| 345 |
- name: Convert MD to PDF with enhanced processing
|
| 346 |
run: |
|
|
|
|
| 380 |
--standalone \
|
| 381 |
--toc \
|
| 382 |
--number-sections \
|
| 383 |
+
--syntax-highlighting=gfm \
|
| 384 |
--wrap=auto \
|
| 385 |
--dpi=300 \
|
| 386 |
--verbose 2>/dev/null || {
|
|
|
|
| 395 |
--css="$GITHUB_WORKSPACE/styles.css" \
|
| 396 |
--toc \
|
| 397 |
--number-sections \
|
| 398 |
+
--syntax-highlighting=gfm \
|
| 399 |
-o "$dir/$filename.html"
|
| 400 |
|
| 401 |
if [ -f "$dir/$filename.html" ]; then
|
.github/workflows/main.yml
CHANGED
|
@@ -329,11 +329,6 @@ jobs:
|
|
| 329 |
|
| 330 |
chmod +x preprocess_markdown.py
|
| 331 |
|
| 332 |
-
# Download GitHub highlight theme
|
| 333 |
-
- name: Download GitHub highlight theme
|
| 334 |
-
run: |
|
| 335 |
-
wget https://raw.githubusercontent.com/jgm/pandoc/master/data/highlight/github.theme -O github.theme
|
| 336 |
-
|
| 337 |
# Convert MD to PDF with enhanced processing
|
| 338 |
- name: Convert MD to PDF with enhanced processing
|
| 339 |
run: |
|
|
@@ -373,7 +368,7 @@ jobs:
|
|
| 373 |
--standalone \
|
| 374 |
--toc \
|
| 375 |
--number-sections \
|
| 376 |
-
--
|
| 377 |
--wrap=auto \
|
| 378 |
--dpi=300 \
|
| 379 |
--verbose 2>/dev/null || {
|
|
@@ -388,7 +383,7 @@ jobs:
|
|
| 388 |
--css="$GITHUB_WORKSPACE/styles.css" \
|
| 389 |
--toc \
|
| 390 |
--number-sections \
|
| 391 |
-
--
|
| 392 |
-o "$dir/$filename.html"
|
| 393 |
|
| 394 |
if [ -f "$dir/$filename.html" ]; then
|
|
|
|
| 329 |
|
| 330 |
chmod +x preprocess_markdown.py
|
| 331 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 332 |
# Convert MD to PDF with enhanced processing
|
| 333 |
- name: Convert MD to PDF with enhanced processing
|
| 334 |
run: |
|
|
|
|
| 368 |
--standalone \
|
| 369 |
--toc \
|
| 370 |
--number-sections \
|
| 371 |
+
--syntax-highlighting=gfm \
|
| 372 |
--wrap=auto \
|
| 373 |
--dpi=300 \
|
| 374 |
--verbose 2>/dev/null || {
|
|
|
|
| 383 |
--css="$GITHUB_WORKSPACE/styles.css" \
|
| 384 |
--toc \
|
| 385 |
--number-sections \
|
| 386 |
+
--syntax-highlighting=gfm \
|
| 387 |
-o "$dir/$filename.html"
|
| 388 |
|
| 389 |
if [ -f "$dir/$filename.html" ]; then
|