Giter VIP home page Giter VIP logo

Comments (9)

yoshuawuyts avatar yoshuawuyts commented on August 26, 2024

I agree with most of your reasoning. I think relative paths could just spawn a new instance of vmd, keeping the original in place. Links to non-local paths should probably just be opened in the browser. What do you think?

from vmd.

maxkueng avatar maxkueng commented on August 26, 2024

I think relative paths could just spawn a new instance of vmd, keeping the original in place.

Brilliant!

from vmd.

aubinlrx avatar aubinlrx commented on August 26, 2024

I agree it would be great if we can navigate between sections inside vmd and open external sites in the default browser.

I'm not really fan with creation of a new instance. If you write a doc with a table of content you don't want to open a new vmd window.

It could be a parameter at launch vmd --book table-of-content.md

from vmd.

yoshuawuyts avatar yoshuawuyts commented on August 26, 2024

@aubinlorieux that seems like a fair use case. Think it would make sense to have it be the default behavior since I can't think of any use case where it would be blocking. Maybe adding shift + click to open a new window would be nice. That way vmd also stays consistent with existing browser behavior.

from vmd.

aubinlrx avatar aubinlrx commented on August 26, 2024

Maybe adding shift + click to open a new window would be nice.

Yes it would be nice !

from vmd.

maxkueng avatar maxkueng commented on August 26, 2024

I agree that it can be weird if relative links to other Markdown documents spawn a new instance / window. But if any links other than same-page-jumps between sections open in the same window there has to be a way to get back to the previous document. Personally I really like that vmd has no buttons and such.

Leveraging Shift + Click, or the middle mouse button may be an option to provide alternative behaviors. Good idea.

from vmd.

mattdesl avatar mattdesl commented on August 26, 2024

You could add global shortcuts to handle back/next buttons without adding any additional UI.

from vmd.

DeeplyUncertain avatar DeeplyUncertain commented on August 26, 2024

Just checking to see if there yet exists a feature that works for section links/internal links. I've been trying to make a functional table of contents without having to use a browser, but nothing's really worked yet. I'm rather new to Markdown, though.

from vmd.

 avatar commented on August 26, 2024

@DeeplyUncertain until a solution is added to vmd consider using shiba which offers internal linking between local markdown documents as well as internal hash links within a single document.

More info in the usage documentation.

Hopefully that helps you.

from vmd.

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.