Skip to content

Commit 97a0264

Browse files
committed
Test jekyll-org support by GH-Pages
1 parent 6cd0721 commit 97a0264

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ repository: https://github.com/artempyanykh/artempyanykh.github.io.git
2020

2121
# Build settings
2222
markdown: kramdown
23+
plugins:
24+
- jekyll-org
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#+title: Divide, mask, and the power of 2
2+
#+category: category-theory
3+
#+layout: page
4+
#+use_math: false
5+
6+
Test whether GH-Pages support org mode jekyll plugin.
7+
8+
#+BEGIN_SRC asm :tangle hw-inc.asm
9+
%include 'functions.asm'
10+
11+
GLOBAL _main
12+
13+
SECTION .data
14+
msg1 db 'Hello, reusable world!', 0xA
15+
msg2 db 'I was printed using included subroutines!', 0xA
16+
17+
SECTION .text
18+
_main:
19+
lea rdi, [rel msg1]
20+
call print
21+
22+
lea rdi, [rel msg2]
23+
call print
24+
25+
ret
26+
#+END_SRC
27+
28+
#+BEGIN_SRC C
29+
30+
void main()
31+
{
32+
printf("Hello, world!");
33+
}
34+
35+
#+END_SRC

0 commit comments

Comments
 (0)