emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How can I customize ID names in html?
       [not found] <771642936.2855157.1560910383621.JavaMail.yahoo.ref@jws704002.mail.kks.yahoo.co.jp>
@ 2019-06-19  2:13 ` buybuyxyz
  0 siblings, 0 replies; 3+ messages in thread
From: buybuyxyz @ 2019-06-19  2:13 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

How can I customize id names in html?

===== test.org begin#+TITLE: test#+AUTHOR: buybuyxyz#+EMAIL: buybuyxyz@yahoo.co.jp#+LANGUAGE: ja#+OPTIONS: toc:t num:t author:t creator:nil LaTeX:t _:{} #+MACRO: em @<font size=+1 color=red>$1@</font>
* test1
* test2
===== test.org end

I generate test.html from test.org.


I do following command
grep id= test.html
I get following output.
<div id="content"><div id="table-of-contents"><div id="text-table-of-contents"><div id="outline-container-orgccfde4a" class="outline-2"><h2 id="orgccfde4a"><span class="section-number-2">1</span> test1</h2><div id="outline-container-org4c11d83" class="outline-2"><h2 id="org4c11d83"><span class="section-number-2">2</span> test2</h2><div id="postamble" class="status">

I would like to generate the prefix of ID names to be xyz instead of org.
How can I customize id names (ex. orgccfde4a)?


[-- Attachment #2: Type: text/html, Size: 2782 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* How can I customize ID names in html?
       [not found] <691826818.7029211.1560910415584.JavaMail.yahoo.ref@jws700007.mail.kks.yahoo.co.jp>
@ 2019-06-19  2:13 ` buybuyxyz
  2019-06-19 19:18   ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: buybuyxyz @ 2019-06-19  2:13 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

How can I customize id names in html?

===== test.org begin#+TITLE: test#+AUTHOR: buybuyxyz#+EMAIL: buybuyxyz@yahoo.co.jp#+LANGUAGE: ja#+OPTIONS: toc:t num:t author:t creator:nil LaTeX:t _:{} #+MACRO: em @<font size=+1 color=red>$1@</font>
* test1
* test2
===== test.org end

I generate test.html from test.org.


I do following command
grep id= test.html
I get following output.
<div id="content"><div id="table-of-contents"><div id="text-table-of-contents"><div id="outline-container-orgccfde4a" class="outline-2"><h2 id="orgccfde4a"><span class="section-number-2">1</span> test1</h2><div id="outline-container-org4c11d83" class="outline-2"><h2 id="org4c11d83"><span class="section-number-2">2</span> test2</h2><div id="postamble" class="status">

I would like to generate the prefix of ID names to be xyz instead of org.
How can I customize id names (ex. orgccfde4a)?


[-- Attachment #2: Type: text/html, Size: 2782 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I customize ID names in html?
  2019-06-19  2:13 ` buybuyxyz
@ 2019-06-19 19:18   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-06-19 19:18 UTC (permalink / raw)
  To: buybuyxyz; +Cc: Emacs-orgmode@gnu.org

Hello,

buybuyxyz@yahoo.co.jp writes:

> How can I customize id names in html?

[...]

> I would like to generate the prefix of ID names to be xyz instead of org.
> How can I customize id names (ex. orgccfde4a)?

You cannot customize those, but you can use CUSTOM_ID property.

HTH,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-19 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <771642936.2855157.1560910383621.JavaMail.yahoo.ref@jws704002.mail.kks.yahoo.co.jp>
2019-06-19  2:13 ` How can I customize ID names in html? buybuyxyz
     [not found] <691826818.7029211.1560910415584.JavaMail.yahoo.ref@jws700007.mail.kks.yahoo.co.jp>
2019-06-19  2:13 ` buybuyxyz
2019-06-19 19:18   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).