aboutsummaryrefslogtreecommitdiffstats
path: root/posts
diff options
context:
space:
mode:
Diffstat (limited to 'posts')
-rw-r--r--posts/nikola-in-orgmode.org38
-rw-r--r--posts/starting-with-nikola.rst16
2 files changed, 54 insertions, 0 deletions
diff --git a/posts/nikola-in-orgmode.org b/posts/nikola-in-orgmode.org
new file mode 100644
index 0000000..c11a3fe
--- /dev/null
+++ b/posts/nikola-in-orgmode.org
@@ -0,0 +1,38 @@
+#+BEGIN_COMMENT
+.. title: Nikola in orgmode
+.. slug: nikola-in-orgmode
+.. date: 2016-12-25 22:46:19 UTC+01:00
+.. tags: testing
+.. category:
+.. link:
+.. description:
+.. type: text
+#+END_COMMENT
+
+
+Kind of boring header in this case. But I need to test other options
+as the amazing codeblocks.
+
+#+BEGIN_SRC emacs-lisp
+(use-package jedi
+ :ensure t
+ :init
+ (add-hook 'python-mode-hook 'jedi:setup)
+ (add-hook 'python-mode-hook 'jedi:ac-setup))
+#+END_SRC
+
+
+#+BEGIN_SRC emacs-lisp
+(global-hl-line-mode t)
+#+END_SRC
+
+#+BEGIN_SRC python :results output :exports both
+print('yes, twire')
+print('yes, twici')
+#+END_SRC
+
+#+RESULTS:
+: yes, twice
+: yes, twici
+:
+:
diff --git a/posts/starting-with-nikola.rst b/posts/starting-with-nikola.rst
new file mode 100644
index 0000000..0485cb3
--- /dev/null
+++ b/posts/starting-with-nikola.rst
@@ -0,0 +1,16 @@
+.. title: Starting with Nikola
+.. slug: starting-with-nikola
+.. date: 2016-12-25 22:32:00 UTC+01:00
+.. tags: testing
+.. category:
+.. link:
+.. description:
+.. type: text
+
+Write your post here.
+
+.. code-block:: python
+ :number-lines:
+
+ print('no')
+ print('yes')