From: Matt Price <email@example.com>
To: Timothy <firstname.lastname@example.org>
Cc: Org Mode <email@example.com>
Subject: Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag
Date: Mon, 5 Jul 2021 23:58:01 -0400 [thread overview]
Message-ID: <CAN_Dec_q4jOu-UhRpWw=iDkD5X9gGKsn+XOP3-VCtyQqQUuSwg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]
On Thu, Jul 1, 2021 at 12:18 PM Timothy <firstname.lastname@example.org> wrote:
> Matt Price <email@example.com> writes:
> >> I would like to be able to surround some portion of a subtree with a
> > Sorry for the noise, I believe this is user error. I misread the
> > source code, and firefox's developer tools added the closing tag for me,
> > I kept not seeing my mistake. The error here was not realizing that
> > contents get wrapped in their own div with class ~outline-text-N~, so my
> > ~<div class="box">~ resulted in malformed HTML.
> > I don't know if there is a way to somehow slide my own html in between
> > outine-text element and the outline-container element for a child
> > If someone knows a way to do this, I'd appreciate a pointer, but for now
> > think I have to find another way to accomplish this.
> As it so happens, this is something which has come up for me too. I
> think in the future it could be worth adding a property that can be used
> to wrap a section in certain HTML tag(s).
I'm dealing with it again tonight, and I do find it a bit teeth-gnashing.
In this case what I'm looking to do is to hide a whole section when the
exported hTML page loads. But right now the subtee children of the
headline remain visible even when the text is hidden.
Whoa! I just realized I can rewrite this myself, since it's a derived
bakend. I guess the export happens from the leafs upwards, so that the
contents are already rendered by the time theadline is being processed. So
in my headline exporter, just had to wrap the contents in an additional
div. It works fine, I feel great about it!
> For now though... the best solution would be what Richard suggests.
[-- Attachment #2: Type: text/html, Size: 2460 bytes --]
prev parent reply other threads:[~2021-07-06 3:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 19:07 BUG? unable to surround subtrees with html tag Matt Price
2021-06-21 22:01 ` allow HTML block to escape from outline-text div? WAS: " Matt Price
2021-06-22 8:30 ` Richard Lawrence
2021-06-22 16:31 ` Matt Price
2021-07-01 16:18 ` Timothy
2021-07-06 3:58 ` Matt Price [this message]
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 \
* 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).