emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Worg: Possible bug about inline-image example using four brackets
@ 2023-03-31 12:32 c.buhtz
  2023-03-31 13:59 ` Corwin Brust
  0 siblings, 1 reply; 6+ messages in thread
From: c.buhtz @ 2023-03-31 12:32 UTC (permalink / raw)
  To: Emacs orgmode

Hello,

it seems there is no bug-tracker for "worg" at 
"https://git.sr.ht/~bzg/worg".

Please see the line behind this link
https://git.sr.ht/~bzg/worg/tree/master/item/org-tutorials/images-and-xhtml-export.org#L61

There you find an example of in inline-image in org-mode uing 4 brackets 
on each side.

     lore [[[[/img/org-mode-unicorn.png]]]] ipsum

My org (Emacs 29) does ignore two of the brackets when exporting to HTL. 
When using two brackets only, inline images also rendered as 
inline-images without problems.

So do I assume correct that the document is wrong and there should be 
two instead of four brackets?

Kind
Christian


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

* Re: Worg: Possible bug about inline-image example using four brackets
  2023-03-31 12:32 Worg: Possible bug about inline-image example using four brackets c.buhtz
@ 2023-03-31 13:59 ` Corwin Brust
  2023-03-31 19:29   ` Corwin Brust
  0 siblings, 1 reply; 6+ messages in thread
From: Corwin Brust @ 2023-03-31 13:59 UTC (permalink / raw)
  To: c.buhtz; +Cc: Emacs orgmode

On Fri, Mar 31, 2023 at 7:32 AM <c.buhtz@posteo.jp> wrote:
>
> it seems there is no bug-tracker for "worg" at
> "https://git.sr.ht/~bzg/worg".

I believe that we use the org bug tracker including for worg - see
`org-submit-bug-report`.

>
> Please see the line behind this link
> https://git.sr.ht/~bzg/worg/tree/master/item/org-tutorials/images-and-xhtml-export.org#L61
>
> There you find an example of in inline-image in org-mode uing 4 brackets
> on each side.
>
>      lore [[[[/img/org-mode-unicorn.png]]]] ipsum
>
> My org (Emacs 29) does ignore two of the brackets when exporting to HTL.
> When using two brackets only, inline images also rendered as
> inline-images without problems.

Thanks for reporting, I'll try to take a look at this a little later
today (assuming nobody else fixes it first).

Corwin


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

* Re: Worg: Possible bug about inline-image example using four brackets
  2023-03-31 13:59 ` Corwin Brust
@ 2023-03-31 19:29   ` Corwin Brust
  2023-03-31 19:49     ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Corwin Brust @ 2023-03-31 19:29 UTC (permalink / raw)
  To: c.buhtz; +Cc: Emacs orgmode

> On Fri, Mar 31, 2023 at 7:32 AM <c.buhtz@posteo.jp> wrote:
> >
> > There you find an example of in inline-image in org-mode uing 4 brackets
> > on each side.
> >
> >      lore [[[[/img/org-mode-unicorn.png]]]] ipsum
> >

Now corrected. Thanks again for your feedback on worg :)


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

* Re: Worg: Possible bug about inline-image example using four brackets
  2023-03-31 19:29   ` Corwin Brust
@ 2023-03-31 19:49     ` Ihor Radchenko
  2023-03-31 21:00       ` Corwin Brust
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2023-03-31 19:49 UTC (permalink / raw)
  To: Corwin Brust; +Cc: c.buhtz, Emacs orgmode

Corwin Brust <corwin@bru.st> writes:

> Now corrected. Thanks again for your feedback on worg :)

Thanks, but you cannot put language as example block argument.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: Worg: Possible bug about inline-image example using four brackets
  2023-03-31 19:49     ` Ihor Radchenko
@ 2023-03-31 21:00       ` Corwin Brust
  2023-04-01  7:00         ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Corwin Brust @ 2023-03-31 21:00 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: c.buhtz, Emacs orgmode

On Fri, Mar 31, 2023 at 2:49 PM Ihor Radchenko <yantar92@posteo.net> wrote:
>
> Corwin Brust <corwin@bru.st> writes:
>
> > Now corrected. Thanks again for your feedback on worg :)
>
> Thanks, but you cannot put language as example block argument.
>

When I remove the language argument ("org"), org resumes thinking it
is a link: it becomes a button and hides the markup we are giving an
example of.

> Org mode version 9.6.1 (release_9.6.1-40-g3d817c @ d:/emacs-build/install/emacs-29.0.60/share/emacs/29.0.60/lisp/org/)


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

* Re: Worg: Possible bug about inline-image example using four brackets
  2023-03-31 21:00       ` Corwin Brust
@ 2023-04-01  7:00         ` Ihor Radchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Ihor Radchenko @ 2023-04-01  7:00 UTC (permalink / raw)
  To: Corwin Brust; +Cc: c.buhtz, Emacs orgmode

Corwin Brust <corwin@bru.st> writes:

>> Thanks, but you cannot put language as example block argument.
>>
>
> When I remove the language argument ("org"), org resumes thinking it
> is a link: it becomes a button and hides the markup we are giving an
> example of.

This is just a visual fontification glitch (known).
On export, the brackets will be normally displayed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2023-04-01  6:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 12:32 Worg: Possible bug about inline-image example using four brackets c.buhtz
2023-03-31 13:59 ` Corwin Brust
2023-03-31 19:29   ` Corwin Brust
2023-03-31 19:49     ` Ihor Radchenko
2023-03-31 21:00       ` Corwin Brust
2023-04-01  7:00         ` Ihor Radchenko

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