Giter Site home page Giter Site logo

nothing works 👀 about logseq-d2 HOT 8 CLOSED

b-yp avatar b-yp commented on June 3, 2024
nothing works 👀

from logseq-d2.

Comments (8)

lef-est avatar lef-est commented on June 3, 2024 3

ahhhhh yes it's working now!! thanks!!
yes i installed it from the marketplace, unlucky timing 😅 glad that i included the plugins panel in my video

from logseq-d2.

b-yp avatar b-yp commented on June 3, 2024 1

I'm not sure what the reason is, but I still have a Windows computer at home. I can use it for debugging when I go back at night. Thank you for the information you provided.

from logseq-d2.

b-yp avatar b-yp commented on June 3, 2024 1

I noticed that you are using version v1.2.0 of the Logseq-d2 plugin, while I have only updated to version v1.1.0. I suggest you completely delete the Logseq-d2 plugin and then reinstall it.

For code blocks, only markdown's ``` is currently supported. I will try to support org-mode code blocks in the next version.

from logseq-d2.

b-yp avatar b-yp commented on June 3, 2024

I tested on my computer and found that the /d2 command does exist. I'm not sure what the issue is on your end. If you want to use {{ renderer :d2_xxx }} to achieve the function, you need to write the code for d2 in the sub-block.
For example:

- {{ renderder :d2_xxx }}
  - ```d2
    A -> B
    ```

from logseq-d2.

lef-est avatar lef-est commented on June 3, 2024

thanks for the quick reply. i did write that in the sub-block (and i tried both org-mode code block and markdown's triple ```). the parent block contains {{renderer :d2_lang_gkkbq, 100, 200}} but it looks empty in viewing mode.

further info: logseq 0.8.18, windows 10

from logseq-d2.

b-yp avatar b-yp commented on June 3, 2024

thanks for the quick reply. i did write that in the sub-block (and i tried both org-mode code block and markdown's triple ```). the parent block contains {{renderer :d2_lang_gkkbq, 100, 200}} but it looks empty in viewing mode.

further info: logseq 0.8.18, windows 10

Hello, I have tested it on a Windows computer and it works normally. The slash command /d2 also takes effect. If it's convenient, would you please record a GIF animation so that I can find the problem faster.

from logseq-d2.

lef-est avatar lef-est commented on June 3, 2024
GIF.2023-03-29.10-40-43.mp4

hope it helps!

from logseq-d2.

b-yp avatar b-yp commented on June 3, 2024

As for why you are version v1.2.0, I think it may be because I updated a test version when I was testing another implementation method before. Later, there were some problems with that method, so I restored it to the current implementation method. If you have any problems in use, please feel free to raise an issue again.

from logseq-d2.

Related Issues (2)

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.