Sample org file
+1 First heading
++ Reference to a subheading +
+2 Second heading
++ Some stuff written here +
+2.1 First subheading
++ Some stuff +
+2.2 Second subheading
++ Some other stuff +
+diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..61ccf4c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +name: default + +steps: +- name: prepare + image: alpine + commands: + - apk add git + - git submodule update --init --recursive + +- name: build + image: alpine + commands: + - apk add hugo + - mkdir blog + - hugo -d blog + +- name: deploy + image: appleboy/drone-scp + settings: + host: + from_secret: ssh_host + target: + from_secret: ssh_target + source: blog/* + username: + from_secret: ssh_username + password: + from_secret: ssh_password + port: + from_secret: ssh_port + when: + branch: + - master + event: + exclude: + - pull_request diff --git a/content/.gitignore b/content/.gitignore deleted file mode 100644 index dd44972..0000000 --- a/content/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.md diff --git a/content/better-custom-ids-orgmode.md b/content/better-custom-ids-orgmode.md new file mode 100644 index 0000000..7bafa83 --- /dev/null +++ b/content/better-custom-ids-orgmode.md @@ -0,0 +1,299 @@ ++++ +title = "[EN] Automatic Meaningful Custom IDs for Org Headings" +author = ["Lucien “Phundrak” Cartier-Tilet"] +date = 2020-06-06 +tags = ["emacs", "orgmode"] +categories = ["emacs", "linux", "conlanging", "orgmode"] +draft = false +[menu.main] + weight = 2001 + identifier = "en-automatic-meaningful-custom-ids-for-org-headings" ++++ + +Spoiler alert, I will just modify a bit of code that already exists, go +directly to the bottom if you want the solution, or read the whole post if +you are interested in how I got there. + +
+ Reference to a subheading +
++ Some stuff written here +
++ Some stuff +
++ Some other stuff +
+