UP | HOME
Impaktor

Impaktor

Inject Emacs intravenously

Example of org-mode to html conversion for blog
Published on Sep 05, 2020 by Impaktor.

This is in Italic and this is bold and this is how underlined looks. We can also use verbatim or code. Use strikethrough if needed.1, 2

python code with line numbers

Use C-c C-, to insert environment in org mode

1: print("python with line numbers")

Github Gist:

Gitlab Snippet

Below is the content of .gitlab-ci.yml:

image: iquiw/alpine-emacs

.build: &build
  script:
  - emacs --batch --no-init-file --load publish.el --funcall org-publish-all
  artifacts:
    paths:
    - public

pages:
  <<: *build
  only:
  - master

test:
  <<: *build
  except:
  - master

Center aligned image with no border, caption:

about.png

Figure 1: Bamse Brakar - Theodor Kittelsen

Image with spaced border, 40% size:

about.png

Image with rounded corners & black border:

about.png

Table:

Specs  
Brand Vostok
Class Amphibia
Model 670927
Movement 2415
Winding Manual + Automatic
Jewels 31
Power reserve < 33 hrs.
WR 20 ATM
Dial 41mm
Lug width 20mm
Strap material Silicon
Dial material Steel
Dial shape Round
Bezel (smooth)Rotating

Footnotes:

1

Visit The Org Manual for more detail.

2

It’s easy to publish org-mode pages via GitLab CI and Pages.