Source blocks with Hugo highlight shortcode
Description/Summary
Here are few variables that you might like to change in the local.mk:
prefix Org installation directory prefix = /dir/where/you/want/to/install/org # Default: /usr/share The .el files will go to $(prefix)/emacs/site-lisp/org by default. If you’d like to change that, you can tweak the lispdir variable. infodir Org Info installation directory. I like to keep the Info file for development version of Org in a separate directory. infodir = $(prefix)/org/info # Default: $(prefix)/info ORG_MAKE_DOC Types of Org documentation you’d like to build by default.
Content
Here are few variables that you might like to change in the local.mk
:
prefix
- Org installation directory
prefix = /dir/where/you/want/to/install/org # Default: /usr/share
The .el
files will go to $(prefix)/emacs/site-lisp/org
by
default. If you’d like to change that, you can tweak the
lispdir
variable.
infodir
- Org Info installation directory. I like to keep the
Info file for development version of Org in a separate
directory.
infodir = $(prefix)/org/info # Default: $(prefix)/info
ORG_MAKE_DOC
- Types of Org documentation you’d like to build by
default.
# Define below you only need info documentation, the default includes html and pdf
ORG_MAKE_DOC = info pdf card # html
ORG_ADD_CONTRIB
- Packages from the
contrib/
directory that
you’d like to build along with Org. Below are the ones on my
must-have list.
# Define if you want to include some (or all) files from contrib/lisp
# just the filename please (no path prefix, no .el suffix), maybe with globbing
# org-eldoc - Heading breadcrumb trail in minibuffer
# ox-extra - Allow ignoring just the heading, but still export the body of those headings
# org-mime - Convert org buffer to htmlized format for email
ORG_ADD_CONTRIB = org-eldoc ox-extra org-mime
Page (Debug)
Page Variable | Value |
Name |
"Source blocks with Hugo highlight shortcode"
|
Title |
"Source blocks with Hugo highlight shortcode"
|
ResourceType |
"page"
|
Kind |
"page"
|
Section |
"posts"
|
Draft |
false
|
Type |
"posts"
|
Layout |
""
|
Permalink |
"https://ox-hugo.scripter.co/test/posts/shortcode-src-blocks/"
|
RelPermalink |
"/posts/shortcode-src-blocks/"
|
Data |
page.Data{} (type:page.Data) |
|
NextPage | Image links |
PrevPage | Code-fenced source blocks |
NextInSection | Image links |
PrevInSection | Code-fenced source blocks |
Page Params (Debug)
Key | Type | Value |
date | time.Time |
2017-07-13 17:57:58 -0400 -0400
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2022-05-27 12:20:31 -0400 -0400
|
publishdate | time.Time |
2017-07-13 17:57:58 -0400 -0400
|
title | string |
"Source blocks with Hugo highlight shortcode"
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"acfabf50b22ee6b1c81b42a6fc3e8f18"
|
BaseFileName |
"shortcode-src-blocks"
|
TranslationBaseName |
"shortcode-src-blocks"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"shortcode-src-blocks.md"
|
Dir |
"posts/"
|
Ext |
"md"
|
Path |
"posts/shortcode-src-blocks.md"
|