Finish org first draft of org migration

Esse commit está contido em:
Sameer Rahmani 2021-02-17 01:22:58 +00:00
commit 0d52ff0aa4
4 arquivos alterados com 19 adições e 0 exclusões

Ver arquivo

@ -18,3 +18,13 @@ pre.src {
padding: 10px 20px;
border-radius: 2px;
}
.timestamp {
background: #161f27;
background: var(--background);
color: #ffbe85;
color: var(--code);
padding: 2.5px 5px;
border-radius: 6px;
font-size: 1em;
}

Ver arquivo

@ -312,6 +312,7 @@ Not pages."
:section-numbers nil
:with-author t
:with-drawers t
:html-format-drawer-function custom-drawer-format
:with-properties t
:with-tags t
:with-timestamps t

Ver arquivo

@ -132,6 +132,13 @@ call `org-html-render-tag-template' otherwise will call ORIG-FN."
(org-html-template contents info))))
(defun custom-drawer-format (name content)
(format "<section class='%s-drawer'><p>%s</p>%s</section>"
(downcase name)
(capitalize name)
content))
(defun org-html-publish-to-templated-html (plist filename pub-dir)
"Publish an org file to HTML.

Ver arquivo

@ -1,5 +1,6 @@
#+TITLE: lxsameer's nest
- [[file:thoughts.org][Inner world]]
- [[file:essays/serene-simple-version.org][Serene (simple versoin)]]
- [[file:essays/choosing-the-target-platform.org][Choosing the target platform]]
- [[file:essays/rational-and-a-name.org][Rational and a name]]