emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to specify block quote language?
@ 2018-12-20 19:58 Abigaile Johannesburg
  2018-12-20 20:13 ` Kaushal Modi
  0 siblings, 1 reply; 2+ messages in thread
From: Abigaile Johannesburg @ 2018-12-20 19:58 UTC (permalink / raw)
  To: Emacs Orgmode

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

Hello,

When exporting from org to html using 

#+begin_quote
quotes
#+end_quote

it generates html code

<blockquote>
<p>
quotes
</p>
</blockquote>

Is there a way to specify the language for quoted text? For example,

#+begin_quote :lang=jp
quotes
#+end_quote

will generate 

<blockquote>
<p lang="ja">
quotes
</p>
</blockquote>

If it is not available now, would someone be interested to take it as a feature request? 

Thank you.
Abi


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

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

* Re: How to specify block quote language?
  2018-12-20 19:58 How to specify block quote language? Abigaile Johannesburg
@ 2018-12-20 20:13 ` Kaushal Modi
  0 siblings, 0 replies; 2+ messages in thread
From: Kaushal Modi @ 2018-12-20 20:13 UTC (permalink / raw)
  To: Abigaile Johannesburg; +Cc: Emacs Orgmode

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

On Thu, Dec 20, 2018 at 3:09 PM Abigaile Johannesburg <abij@tuta.io> wrote:

>
> Is there a way to specify the language for quoted text? For example,
>
> #+begin_quote :lang=jp
> quotes
> #+end_quote
>

You can do this instead which is already supported:

#+attr_html: :lang jp
#+begin_quote
quotes
#+end_quote

This creates:

<blockquote lang="jp">
<p>
quotes
</p>
</blockquote>

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

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

end of thread, other threads:[~2018-12-20 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 19:58 How to specify block quote language? Abigaile Johannesburg
2018-12-20 20:13 ` Kaushal Modi

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).