From 512691f01c9734f2e87e800597b17647f575687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 26 Dec 2016 00:57:13 +0100 Subject: Testing Posts --- posts/nikola-in-orgmode.org | 38 ++++++++++++++++++++++++++++++++++++++ posts/starting-with-nikola.rst | 16 ++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 posts/nikola-in-orgmode.org create mode 100644 posts/starting-with-nikola.rst (limited to 'posts') 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') -- cgit v1.2.3