Giter Site home page Giter Site logo

Comments (6)

nathanlesage avatar nathanlesage commented on September 24, 2024 1

This is easy: Make sure to prepend some indication to the path that indicates that it's indeed a file on your computer (e.g. ./file.pdf instead of file.pdf). There will be further improvements later!

However, this is the wrong repository, please issue such requests on our main repository: https://github.com/Zettlr/Zettlr/issues

from zettlr-docs.

nathanlesage avatar nathanlesage commented on September 24, 2024 1

Oh? Doesn't work, even with absolute path? Weird, I'll see to it! :) If it isn't fixed by the end of the year, feel free to open an issue on the main repo!

from zettlr-docs.

raphraph avatar raphraph commented on September 24, 2024

Oops, sorry for my inattention... I didn't see that I had navigated to the docs repository.

However your tip does not seem to work for me... this is already what I was doing, like this :
[name_of_file.pdf](/full/path/to/my/name_of_file.pdf)

I can make an issue in the correct repo if you confirm that it is one.

from zettlr-docs.

raphraph avatar raphraph commented on September 24, 2024

I can confirm it is fixed in 1.8.1. Thanks.

from zettlr-docs.

MatveyM11 avatar MatveyM11 commented on September 24, 2024

This is easy: Make sure to prepend some indication to the path that indicates that it's indeed a file on your computer (e.g. ./file.pdf instead of file.pdf). There will be further improvements later!

That's was pretty useful, I've encountered same problem when I tried to make a relative path to a .pptx. With markdown files Zettlr was fine but with a path to .pptx it kept opening the browser, though Okular was able properly open a LibreOffice.
With edding ./ In the beginning everything started to work fine.

I think such miscelannious stuff needs to be added to Documentation, especially information about relative paths, because it's making yours notes library very portable, every link wont be broken doesn't matter where you're going to place it on your PC or on a server, like GitHub.

from zettlr-docs.

nathanlesage avatar nathanlesage commented on September 24, 2024

I think such miscelannious stuff needs to be added to Documentation, especially information about relative paths, because it's making yours notes library very portable, every link wont be broken doesn't matter where you're going to place it on your PC or on a server, like GitHub.

@MatveyM11 Feel free to suggest documentation updates over in the repo: https://github.com/Zettlr/zettlr-docs

I can't fully keep it updated both because many things don't need to be documented for me (as I know the code in and out) and because it takes a ton of my time, which I'd rather spend on fixing bugs and improving the app.

from zettlr-docs.

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.