Giter VIP home page Giter VIP logo

Comments (3)

tchayen avatar tchayen commented on May 18, 2024 3

Hi! Author of Markdown Links here (which is used for graph visualisation).

To be precise, the label displayed in the graph is the main title (# This one) from the file. When I started this extension I was using 1:1 mapping of file name and I could miss some aspects of the problem.

I am not sure if I understand the problem, though. By supporting metadata you mean some UI options for filtering nodes in the graph by a tag present in, for example, YAML preamble? I am afraid it is quite far from common conventions in Markdown and would be hard to justify in a general extension aiming for various Markdown use cases. So if @jevakallio is interested in going in this direction it would most likely end up being a fork under foambubble with conventions established there.

Regarding alternative names, it is absolutely not a problem, but how would those names be matched with files? If you mean this syntax: [[Alternative to display|Real title which is hidden]] then it is a matter of parsing.

It is also supported in two ways by native Markdown syntax, since both links and references allow to define display text in separation from the actual link.

from foam.

sahil48 avatar sahil48 commented on May 18, 2024

The syntax above looks good. Based on what the graph parses, in each file, it may represent the file as different nodes in the graph.

from foam.

riccardoferretti avatar riccardoferretti commented on May 18, 2024

There will be hooks in the Foam graph in the future (which should take shape in the upcoming weeks). I will close this issue for now, feel free to open a new one (or contribute the feature) once the new graph API has been published. You can also comment on the RFC that will be published here soon (in the form of an issue on this repo)

from foam.

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.