Roland Coeurjoly <rolandcoeurj...@gmail.com> writes: > I publish (M+x org-publish-project) the following to html: > > #+OPTIONS: toc:nil num:nil > > #+BEGIN_EXPORT html > --- > layout: post > title: "A beginner's Emacs config" > subtitle: "First steps into the Emacs universe" > tags: [hacking, emacs] > category: blog > --- > #+END_EXPORT > > I get the following: > > <div class="export"> > <p> > — > layout: post > title: "A beginner's Emacs config" > subtitle: "First steps into the Emacs universe" > tags: [hacking, emacs] > category: blog > — > </p> > > I expect the following: > > --- > layout: post > title: "A beginner's Emacs config" > subtitle: "First steps into the Emacs universe" > tags: [hacking, emacs] > category: blog > ---
I tried your snippet with Org 9.1.14, and it works as you expect. You may want to upgrade to a more recent Org version. -- Kyle