emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill White <billw@wolfram.com>
To: emacs-orgmode@gnu.org
Subject: block-like markup to export custom html?
Date: Tue, 13 Jul 2021 21:53:27 -0500 (CDT)	[thread overview]
Message-ID: <1333426600.1698587.1626231207759.JavaMail.zimbra@wolfram.com> (raw)

I'm using https://github.com/bastibe/org-static-blog to generate http://members.wolfram.com/billw <under-construction.gif>

See especially http://members.wolfram.com/billw/2021-07-05-romanovsky-on-bronstein.html

I have an org file full of these things to denote side-by-side columns of English and Russian text: 

@@html:<div class="grid-container"><div class="grid-child-english">@@ 
Some English text. 
@@html:</div><div class="grid-child-russian" lang="ru">@@ 
Some Russian text. 

===> My question: is there a notion of a custom block-like structure that, upon export to html (or whatever backend org-static-blog uses), would insert the inlined html code shown above? I'm imagining something like: 

Some English text. 
Some Russian text 

to produce this upon export: 

<div class="grid-container"><div class="grid-child-english"> 
Some English text. 
</div><div class="grid-child-russian" lang="ru"> 
Some Russian text. 

Background: I'm learning Russian and re-learning chess, and one day I realized I could translate articles from old Russian chess magazines. 


"No, ma'am, we're musicians."

                 reply	other threads:[~2021-07-14  2:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1333426600.1698587.1626231207759.JavaMail.zimbra@wolfram.com \
    --to=billw@wolfram.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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