Comments (8)
Something similar is happening with my website as well. Here's my index.org file and here's the exported Markdown file (it ends quite unexpectedly)
from ox-hugo.
A possible workaround which works for me is setting: (setq org-element--cache-self-verify t)
from ox-hugo.
I'm using Doom Emacs, just upgraded org-mode package to the latest main branch and confirm it works by exporting the demo file described in this ticket.
# init.el
(package! org :pin "55db64")
Org version
Org mode version 9.7 (9.7-??-c7db1c098 @ /Users/james/.config/emacs/.local/straight/build-29.1/org/)
from ox-hugo.
It's correct when the link is an URL:
Org file
#+hugo_base_dir: ../
* DONE Demo
CLOSED: [2023-10-03 Tue 02:38]
:PROPERTIES:
:EXPORT_FILE_NAME: demo
:END:
[[http://file]]
1234567890
Markdown
+++
title = "Demo"
author = ["Yejun Su"]
date = 2023-10-03T02:38:00+08:00
draft = false
+++
<http://file>
1234567890
from ox-hugo.
I'm having a similar problem with truncation. It's happening in only one of my blog posts and I can't seem to find anything unique about that particular post. All I have discovered so far is it's connected somehow to several YAML source blocks in the post. When I remove lines from any of these blocks, the truncation is less. Remove all of them and the truncation is gone.
Basically each line of YAML source blocks causes more characters to be truncated.
It also only happens with a batch emacs instance. I can't reproduce it in a normal running emacs instance.
from ox-hugo.
@georgek Thank you, confirm it works for me.
from ox-hugo.
@georgek I appreciate you bringing this up on the Org ML. Hopefully the fix on Org main branch fixes this for you. The org cache related issues are very difficult to reproduce and fix. So I am glad Ihor was able to get to this so quickly!
from ox-hugo.
@georgek I appreciate you bringing this up on the Org ML. Hopefully the fix on Org main branch fixes this for you. The org cache related issues are very difficult to reproduce and fix. So I am glad Ihor was able to get to this so quickly!
Cool, just found related links, put here for reference:
- Bug report: https://orgmode.org/list/[email protected] (Thanks @georgek)
- Bugfix: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a9e2a97ee3d0892edeca3e1a69d0ce815f832e53
Can we close this ticket as it is fixed in the upstream?
from ox-hugo.
Related Issues (20)
- How to change ox-hugo exporting front-matter from TOML to YAML by default HOT 2
- Org subtree as Markdown Headline 1 HOT 6
- Can not embed inline latex equations exported by dvisvgm in paragraph HOT 1
- broken-links handling only for fuzzy not id-type links HOT 2
- Removing old posts after changing the export file name HOT 2
- Replacing Front Matter Keys Globally
- How to find the bottleneck on slow export?
- Add support for user-defined processing of links
- Headline levels are mangled when exporting a capture template into an existing org file HOT 1
- Invalid search bound (wrong side of point) when exporting to markdown in org 9.7-pre HOT 1
- Disable copying org-preview image files in ltximg folder when using mathjax for equation rendering. HOT 2
- Overriding how headings are exported
- #+begin_example block in Org-Babel #+RESULTS causes ox-hugo rendering failure HOT 1
- Feature Request: #+summary
- Subtree export takes 8+ seconds HOT 1
- Export slows down over time across 1000+ files HOT 1
- [FR] Option to export as index.md, even when EXPORT_FILE_NAME set to something else.
- Referencing a JavaScript library in a post?
- Duplicated anchors cause conflict when there're same headings on one page HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox-hugo.