Prathamesh Sarjerao Vaidya commited on
Commit
ac05a0f
·
1 Parent(s): 330512b

update main & check.yml

Browse files
.github/workflows/check.yml CHANGED
@@ -341,6 +341,11 @@ jobs:
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,7 +385,7 @@ jobs:
380
  --standalone \
381
  --toc \
382
  --number-sections \
383
- --highlight-style=github \
384
  --wrap=auto \
385
  --dpi=300 \
386
  --verbose 2>/dev/null || {
@@ -395,7 +400,7 @@ jobs:
395
  --css="$GITHUB_WORKSPACE/styles.css" \
396
  --toc \
397
  --number-sections \
398
- --highlight-style=github \
399
  -o "$dir/$filename.html"
400
 
401
  if [ -f "$dir/$filename.html" ]; then
 
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
  --standalone \
386
  --toc \
387
  --number-sections \
388
+ --highlight-style=github.theme \
389
  --wrap=auto \
390
  --dpi=300 \
391
  --verbose 2>/dev/null || {
 
400
  --css="$GITHUB_WORKSPACE/styles.css" \
401
  --toc \
402
  --number-sections \
403
+ --highlight-style=github.theme \
404
  -o "$dir/$filename.html"
405
 
406
  if [ -f "$dir/$filename.html" ]; then
.github/workflows/main.yml CHANGED
@@ -329,6 +329,11 @@ jobs:
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,7 +373,7 @@ jobs:
368
  --standalone \
369
  --toc \
370
  --number-sections \
371
- --highlight-style=github \
372
  --wrap=auto \
373
  --dpi=300 \
374
  --verbose 2>/dev/null || {
@@ -383,7 +388,7 @@ jobs:
383
  --css="$GITHUB_WORKSPACE/styles.css" \
384
  --toc \
385
  --number-sections \
386
- --highlight-style=github \
387
  -o "$dir/$filename.html"
388
 
389
  if [ -f "$dir/$filename.html" ]; then
 
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
  --standalone \
374
  --toc \
375
  --number-sections \
376
+ --highlight-style=github.theme \
377
  --wrap=auto \
378
  --dpi=300 \
379
  --verbose 2>/dev/null || {
 
388
  --css="$GITHUB_WORKSPACE/styles.css" \
389
  --toc \
390
  --number-sections \
391
+ --highlight-style=github.theme \
392
  -o "$dir/$filename.html"
393
 
394
  if [ -f "$dir/$filename.html" ]; then