pandoc-ext / diagram

Generate diagrams from embedded code; supports Mermaid, Dot/GraphViz, PlantUML, Asymptote, CeTZ, and TikZ.
MIT License
90 stars 11 forks source link

Combie diagram filter with pandoc-crossref #47

Open 0xffmeta opened 3 days ago

0xffmeta commented 3 days ago

is pandoc-corssref supported with diagram filter? E.g. After diagram filter generated the image, is it possible to add the fig ref?

![This is the caption](media/image2.jpeg){#fig:figure0}

tarleb commented 1 day ago

I never tried, but I assume it should work.

0xffmeta commented 1 day ago

Which attribute I should use? I tried fig-id / label, but seems they didn’t work.

获取 Outlook for iOShttps://aka.ms/o0ukef


发件人: Albert Krewinkel @.> 发送时间: Saturday, November 16, 2024 10:36:20 PM 收件人: pandoc-ext/diagram @.> 抄送: 0xffmeta @.>; Author @.> 主题: Re: [pandoc-ext/diagram] Combie diagram filter with pandoc-crossref (Issue #47)

I never tried, but I assume it should work.

― Reply to this email directly, view it on GitHubhttps://github.com/pandoc-ext/diagram/issues/47#issuecomment-2480598311, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXM2FQPDC5JLVQ5ZEWM2ILT2A5J6JAVCNFSM6AAAAABR2UJSA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGU4TQMZRGE. You are receiving this because you authored the thread.Message ID: @.***>