Skip to content

Inline code blocks: Confused about source code blocks evaluation when exporting #759

@PRESFIL

Description

@PRESFIL

Description

Inline code blocks are executed during export. For example, this file

src_sh{ls}

show prompt Evaluate this emacs-lisp code block on your system? (yes or no)
on ox-hugo export. I found similar thread in org-mode mailing list.

It might be an org-mode bug, but normal code blocks are not executed when exported,
but regular code blocks don't evaluated on export (expected behavior)

#+begin_src sh
ls
#+end_src

Versions

  • Emacs 30
  • Org Mode 9.7.11
  • ox-hugo 20250212.310

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions