emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Exporting lists of >100 items to markdown
@ 2024-05-05 16:17 Bastien
  2024-05-05 17:18 ` Berry, Charles
  2024-05-05 17:26 ` Ihor Radchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Bastien @ 2024-05-05 16:17 UTC (permalink / raw)
  To: emacs-orgmode

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

Exporting the attached document with a list of >100 items results in a
misformed markdown list, with missing spaces at the beginning of items.

Can anyone reproduce this?

-- 
 Bastien

[-- Attachment #2: bug.org --]
[-- Type: application/vnd.lotus-organizer, Size: 531 bytes --]

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

* Re: [BUG] Exporting lists of >100 items to markdown
  2024-05-05 16:17 [BUG] Exporting lists of >100 items to markdown Bastien
@ 2024-05-05 17:18 ` Berry, Charles
  2024-05-05 17:26 ` Ihor Radchenko
  1 sibling, 0 replies; 4+ messages in thread
From: Berry, Charles @ 2024-05-05 17:18 UTC (permalink / raw)
  To: Bastien; +Cc: Org-Mode List

Bastien,

> On May 5, 2024, at 9:17 AM, Bastien <bzg@gnu.org> wrote:
> 
> Exporting the attached document with a list of >100 items results in a
> misformed markdown list, with missing spaces at the beginning of items.
> 
> Can anyone reproduce this?

Yes. 

With Org mode version 9.6.6 I see that org-md-item hard codes the padding to indent the item 4 spaces past the start of the bullet.

Lists of 1000 items will raise an error.

Coincidentally, there was a thread last month about adding spaces *before* the bullet in org-md-item, but I think the effect you noted was not mentioned.

Chuck


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

* Re: [BUG] Exporting lists of >100 items to markdown
  2024-05-05 16:17 [BUG] Exporting lists of >100 items to markdown Bastien
  2024-05-05 17:18 ` Berry, Charles
@ 2024-05-05 17:26 ` Ihor Radchenko
  2024-05-06  8:09   ` Bastien Guerry
  1 sibling, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2024-05-05 17:26 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> Exporting the attached document with a list of >100 items results in a
> misformed markdown list, with missing spaces at the beginning of items.
>
> Can anyone reproduce this?

Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=24feef95e

-- 
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] 4+ messages in thread

* Re: [BUG] Exporting lists of >100 items to markdown
  2024-05-05 17:26 ` Ihor Radchenko
@ 2024-05-06  8:09   ` Bastien Guerry
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien Guerry @ 2024-05-06  8:09 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

> Fixed, on bugfix.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=24feef95e

Thanks!

-- 
 Bastien Guerry


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

end of thread, other threads:[~2024-05-06  8:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-05 16:17 [BUG] Exporting lists of >100 items to markdown Bastien
2024-05-05 17:18 ` Berry, Charles
2024-05-05 17:26 ` Ihor Radchenko
2024-05-06  8:09   ` Bastien Guerry

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