emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* block-like markup to export custom html?
@ 2021-07-14  2:53 Bill White
  0 siblings, 0 replies; only message in thread
From: Bill White @ 2021-07-14  2:53 UTC (permalink / raw)
  To: emacs-orgmode

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. 
@@html:</div></div>@@ 

===> 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: 

#+begin_multicol 
Some English text. 
#+break: 
Some Russian text 
#+end_multicol 

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. 
</div></div> 

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

Thanks! 

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-14  2:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  2:53 block-like markup to export custom html? Bill White

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