Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix export of standalone images #756

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions test/site/content-org/all-posts.org
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,8 @@ Below, the same caption is set using the =#+attr_html= method instead:

Some text before image.

# #+attr_html: :caption A unicorn!
# [[/images/org-mode-unicorn-logo.png]]

<2025-02-11 Tue> Fix export of standalone images.
#+attr_html: :caption A unicorn!
[[/images/org-mode-unicorn-logo.png]]

/Enter a new line after the image link so that it's in an "Org
paragraph" that contains just that image. That tells Org that that
Expand Down
2 changes: 1 addition & 1 deletion test/site/content/posts/figure-shortcode-and-attr-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Below, the same caption is set using the `#+attr_html` method instead:

Some text before image.

<span class="timestamp-wrapper"><span class="timestamp">&lt;2025-02-11 Tue&gt; </span></span> Fix export of standalone images.
{{< figure src="/images/org-mode-unicorn-logo.png" caption="<span class=\"figure-number\">Figure 3: </span>A unicorn!" >}}

_Enter a new line after the image link so that it's in an "Org
paragraph" that contains just that image. That tells Org that that
Expand Down
Loading