You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently implemented a figurative login on top of quartz so I can control who can see which notes.
Now I want to make it so i can do a custom html tag so that I can "redact" parts of a note for some users.
I can get through essentially all steps of implementing this, but what I'm a bit in the dark about is the parsing of this html tag. I'd probably go for something like:
Please dont read me!
But since regular HTML tags aren't parsed either, I'd like to ask where I could implement this into the parsing pipeline.
Some pointers on HOW to implement this would be appreciated too, but I can probably figure this out too if I can find the rest of the parsers.
Thanks in advance and best regard,
Paul
The text was updated successfully, but these errors were encountered:
But we are using preact to transpile jsx into html, so you might have to check how they handle custom props.
fwiw we only use jsx for templating, and not for any specific other preact features.
if you set a certain users flow within the body dataset, then you can probably render the target specific html blocks you want to hide with js "afterDOMReady" (albeit ablate the div and then fetch it back somehow for users who can have access to it)
Hey there!
This is a bit of an elaborate question.
I recently implemented a figurative login on top of quartz so I can control who can see which notes.
Now I want to make it so i can do a custom html tag so that I can "redact" parts of a note for some users.
I can get through essentially all steps of implementing this, but what I'm a bit in the dark about is the parsing of this html tag. I'd probably go for something like:
Please dont read me!
But since regular HTML tags aren't parsed either, I'd like to ask where I could implement this into the parsing pipeline.
Some pointers on HOW to implement this would be appreciated too, but I can probably figure this out too if I can find the rest of the parsers.
Thanks in advance and best regard,
Paul
The text was updated successfully, but these errors were encountered: