Giter Site home page Giter Site logo

Comments (8)

ctanas avatar ctanas commented on June 14, 2024 1

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.

georgek avatar georgek commented on June 14, 2024 1

A possible workaround which works for me is setting: (setq org-element--cache-self-verify t)

from ox-hugo.

goofansu avatar goofansu commented on June 14, 2024 1

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.

goofansu avatar goofansu commented on June 14, 2024

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.

georgek avatar georgek commented on June 14, 2024

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.

goofansu avatar goofansu commented on June 14, 2024

@georgek Thank you, confirm it works for me.

from ox-hugo.

kaushalmodi avatar kaushalmodi commented on June 14, 2024

@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.

goofansu avatar goofansu commented on June 14, 2024

@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:

Can we close this ticket as it is fixed in the upstream?

from ox-hugo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.