Skip to content

Commit cfd5078

Browse files
committed
Switch pandoc to markdown
1 parent 25bd7c3 commit cfd5078

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ jobs:
66
name: 'Deploy Nikola to GitHub Pages'
77
steps:
88
- name: Check out
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v4
10+
with:
11+
set-safe-directory: true
12+
13+
- name: Fix git safe.directory in container
14+
run: |
15+
mkdir -p /home/runner/work/_temp/_github_home
16+
printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
17+
1018
- name: Build and Deploy Nikola
1119
uses: getnikola/nikola-action@v4
1220
with:

conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
# 'html' assumes the file is html and just copies it
196196
COMPILERS = {
197197
"rest": ('.rst', '.txt'),
198-
#"markdown": ('.md', '.mdown', '.markdown'),
198+
"markdown": ('.md', '.mdown', '.markdown'),
199199
"textile": ('.textile',),
200200
"txt2tags": ('.t2t',),
201201
"bbcode": ('.bb',),
@@ -209,7 +209,7 @@
209209
# Pandoc detects the input from the source filename
210210
# but is disabled by default as it would conflict
211211
# with many of the others.
212-
"pandoc": ( '.md', '.mdown','.markdown'),
212+
# "pandoc": ( '.md', '.mdown','.markdown'),
213213
}
214214

215215
# Create by default posts in one file format?
@@ -577,7 +577,7 @@
577577
# done in the code, hope you don't mind ;-)
578578
# Note: most Nikola-specific extensions are done via the Nikola plugin system,
579579
# with the MarkdownExtension class and should not be added here.
580-
MARKDOWN_EXTENSIONS = ['extra','toc','markdown.extensions.extra']
580+
MARKDOWN_EXTENSIONS = ['extra', 'toc', 'codehilite', 'tables', 'fenced_code','markdown.extensions.extra']
581581

582582
# Social buttons. This is sample code for AddThis (which was the default for a
583583
# long time). Insert anything you want here, or even make it empty.

pages/about-us.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ It's Nice To meet you
4141
<img class="pull-right" src="/images/mistlogo.png" width="40%" style="margin-top: 0px;"/>
4242
<h3>MIST Lab</h3>
4343
<h4>Polytechnique Montreal</h4>
44-
<p>2500 chemin de Polytechmiqe.<br>
44+
<p>2500 chemin de Polytechnique.<br>
4545
Montreal, QC, Canada, H3T 1J4<br>
4646
</p>
4747
<p><i class="fa fa-phone"></i> <abbr title="Phone">P</abbr>: (514) 340-4711 x2370</p>

pages/projects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
.. type: text
99
-->
1010

11-
<div markdown="0" class="pull-right panel panel-primary">
11+
<div markdown="1" class="pull-right panel panel-primary">
1212

1313
<div class="panel-heading">
1414

1515
<h3 class="panel-title">Contents</h3>
1616

1717
</div>
1818

19-
<div markdown="span" class="panel-body">
19+
<div markdown="1" class="panel-body">
2020

2121
[TOC]
2222

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pybtex
22
Nikola[extras]
3+
Markdown

0 commit comments

Comments
 (0)