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
Footnotes can easily be inserted using C-c C-x f.
Posts can be published and hosted easily.2
Useful link on CSS here
- python code with line numbers
Use C-c C-, to insert environment in org-mode
1: print("Start local http-server, (assuming python 3) ")
Command line:
python -m http.server --directory=public/
- 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:
Figure 1: Bamse Brakar - Theodor Kittelsen
- Image with spaced border, 40% size:
- Image with rounded corners & black border:
- 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
1. Section
Demonstrating what sections look like
1.1. sub**1-seciton
One sub section (2 *)
Footnotes:
1
Visit The Org Manual for more detail.