Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit code inside {{}} ? #5

Closed
notuntoward opened this issue Jul 3, 2022 · 3 comments
Closed

How to edit code inside {{}} ? #5

notuntoward opened this issue Jul 3, 2022 · 3 comments
Labels
question Further information is requested

Comments

@notuntoward
Copy link

notuntoward commented Jul 3, 2022

After I've created a diagram, how do I edit the diagram metacode inside of the {{}}, for example, to add a title? Once I see a rendered image of the diagram, nothing happens when I click on the block text. I don't know what I should see, but I was expecting the raw markup, like I see in other blocks. Then, in the markup, I thought I'd see the {{}} stuff shown in the README.

If I expand the block, so I see the diagram code -- in my case, the mermaid code -- I still don't see any place to edit {{}}

@npgrosser npgrosser added the question Further information is requested label Jul 5, 2022
@npgrosser
Copy link
Owner

If you click on the right side next to the rendered diagram, the metacode should become editable.

@notuntoward
Copy link
Author

notuntoward commented Jul 7, 2022

Huh, when I click there, nothing happens. I tried left, right and middle clicks. This is on Windows. Maybe you're on MacOS or something?

@npgrosser
Copy link
Owner

hey, sorry for the late response.

Actually, this should also work on windows.
Alternatively, you can select a sibling block (directly above or below your diagram) and use the arrow keys to move the cursor to the 'diagram block'. The metacode should then be editable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants