Parse the link inside figure block as url instead of expression

オープン
#1,168 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
lua
領域
devtools

調査の方向性

figure block の外側にあるリンクと、その内部にある同じリンクとの間で報告された差異を再現し、次に figure block を処理する Org-mode パーサーの経路を追跡します。リンク、説明、キャプションが式ではなく URL データとして表現されていることを確認し、既存の image-preview の動作を維持します。

索引モデルが issue の本文から書いたものです。

説明

enhancement
Does this feature exist in Emacs orgmode core?

N/A

Is code AI assisted/generated?

No

Orgmode link

No response

Feature value

As you can see if there is a link block outside of figure block it get correctly parsed as url and desc

Image

But same thing under a figure block renders as a expression

Image

The side effect of this is the image preview extension https://github.com/3rd/image.nvim can only preview the images outside of the figure block itself (which are links as of org format and not images technically)

Can we make it parse the link,desc and caption inside of figure block?

Additional context

No response

主要言語
Lua
スター
3.9k
フォーク
193
平均マージ
5日 7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nvim-orgmode/orgmode のほかの issue

nvim-orgmode/orgmode の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。