emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for org html head scripts


From: Bastien
Subject: Re: Documentation for org html head scripts
Date: Sat, 05 Sep 2020 11:45:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Paramjit,

Paramjit Singh <paramjitrohits@gmail.com> writes:

> I was trying to have a clean html-head while exporting using `ox-html`, and 
> even
> while setting
>
> (setq org-html-head-include-default-style nil)
> (setq org-html-mathjax-template "")
>
> I would get some code in the header, as shown in the following reddit post:
> https://old.reddit.com/r/emacs/comments/humgny/getting_rid_of_excess_header_in_org_html_export/
>
> I tried following the org manual, but a solution was not mentioned in
> it. The person who
> solved the issue for me in the reddit post recommended letting the devs know
> to add it in the documentation. Namely, something like:
> "Customizing the variable org-html-head-include-scripts to nil,
> disables any scripts
> being added to the html-head" (the variable is indeed mentioned,
> however, a small
> paragraph regarding how to get a clean html-head could be added).

Thanks for the suggestion, I added a small section explaining how to
export to bare HTML (see ed8369aff in master).

Best,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]