Git Product home page Git Product logo

marcosilva.pt's Introduction

README

Orgmode config

Copied from martin foot blogpost, you can allow it to export itself

<#+begin_src emacs-lisp :tangle yes ;; Personal page (setq org-publish-project-alist ‘( (“org-marcosilva” ; Export my blog to the Jekyll format for jekyll build ;; Path to your org files. :base-directory “~/src/personal/marcosilva.pt/org” :base-extension “org”

;; Path to your Jekyll project. :publishing-directory “~/src/personal/marcosilva.pt/jekyll” :recursive t :publishing-function org-html-publish-to-html :html-extension “html” :body-only t ;; Only export section between <body> </body>

:section-numbers nil :with-toc nil :auto-index nil :auto-preamble nil :body-only t :auto-postamble nil )

(“org-static-marcosilva” :base-directory “~/src/personal/marcosilva.pt/org/” :base-extension “css\|js\|png\|jpg\|gif” :publishing-directory “~/src/personal/marcosilva.pt/jekyll/” :recursive t :publishing-function org-publish-attachment )

(“marcosilva.pt” :components ( “org-marcosilva” “org-static-marcosilva” ) ) ))

(defun org-custom-link-img-follow (path) (org-open-file-with-emacs (format “../images/%s” path)))

(defun org-custom-link-img-export (path desc format) (cond ((eq format ‘html) (format “<img src="/images/%s" alt="%s"/>” path desc))))

(org-add-link-type “img” ‘org-custom-link-img-follow ‘org-custom-link-img-export)

marcosilva.pt's People

Contributors

trepatudo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.