Replies: 7 comments 3 replies
|
this is possible if it is formatted like this, but to don't have nested comments, you can define it also like this: <!--
@check: <!-- style = "width: 6mm; vertical-align: -1px;" -->
check2: <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/250px-Eo_circle_green_checkmark.svg.png" style = "width: 6mm; vertical-align: -1px;">
-->
# test
@check
foo @check2 foo bar |
0 replies
|
Thanks!
As I understans it, this code must be in the header <!— —> of the MD page. I tried to put the code in a # level, the test in a ##, and it doesn’t function.
… Le 15 juil. 2026 à 14:20, André Dietrich ***@***.***> a écrit :
this is possible if it is formatted like this, but to don't have nested comments, you can define it also like this:
Demo LiveEditor <https://liascript.github.io/LiveEditor/?/show/code/H4sIAAAAAAAAA8WRvW7DIBSFd57ixlnSAd/EUTsQJ+rSp6giC2OKUcAgwD99+9Ykc6RO3c6Rrj6dT7feUEreRS/FjcHmM4cyTuq661PykSGO3jjelbO+aSs7zUsXFK7Nrw2Fs9YNEVM/2haPeGzxwzVCB2Fko4KUQ5OhlocMxup17xf69Kb0g3qpf5dBTN9GwhmKWXepZ/Bm7QkmGZIW3FButBoY0INfTgVQeiEkcyoGtbYKYhDn4p89ir84XEiW2EKSMZHHXwj5cg7uuYI1tzz8AHso0/G4AQAA>
<!--
@check: <!-- style = "width: 6mm; vertical-align: -1px;" -->
check2: <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/250px-Eo_circle_green_checkmark.svg.png" style = "width: 6mm; vertical-align: -1px;">
-->
# test
@check
foo @check2 foo bar
—
Reply to this email directly, view it on GitHub <#293?email_source=notifications&email_token=AIDPHF55VLKL4ZYXOVQKHOL5E5ZJJA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGQ4DONRYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17648768>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIDPHF4KBQIHSK7PQ3ZYHU35E5ZJJAVCNFSNUABIKJSXA33TNF2G64TZHMZDEMBQGUZTCMRWHNCGS43DOVZXG2LPNY5TCMBUGMZTKMZXUF3AE>.
You are receiving this because you authored the thread.
|
0 replies
|
You can do this too, but these per slide macros work only for the current slide or can be used to overwrite another macro or configuration. In this case the comment has to follow directly after the header ... <!--
@check: <!-- style = "width: 6mm; vertical-align: -1px;" -->
check2: <img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/250px-Eo_circle_green_checkmark.svg.png"
style = "width: 6mm; vertical-align: -1px;"
>
-->
# test
@check
foo @check2 foo bar
## change
<!--
check2: <img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Crystal_Clear_action_apply-ie.png/330px-Crystal_Clear_action_apply-ie.png"
style = "width: 6mm; vertical-align: -1px;"
>
-->
foo @check2 foo bar
## original
foo @check2 foo bar |
0 replies
|
But the first definitions must be in the head <!— —>? If I write them directly in a # header it just display the code, not the result of it.
<!--
…-->
# Title
<!--
@check: <!-- style = "width: 6mm; vertical-align: -1px;" -->
check2: <img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/250px-Eo_circle_green_checkmark.svg.png"
style = "width: 6mm; vertical-align: -1px;"
-->
## test
@check
foo @check2 foo bar
|
1 reply
|
OK. But not this:
# Title
<!--
check2: <img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/250px-Eo_circle_green_checkmark.svg.png"
style = "width: 6mm; vertical-align: -1px;"
-->
## test
<!-- style="color: red" -->
To don't intersect with the following comments that might affect
the appearance of an Markdown-block ...
This entire paragraph will be red @check2 ...
While this is normal again @check2 ...
… Le 16 juil. 2026 à 10:25, André Dietrich ***@***.***> a écrit :
# Title
<!--
check2: test
-->
<!-- style="color: red" -->
To don't intersect with the following comments that might affect
the appearance of an Markdown-block ...
This entire paragraph will be red @check2 ...
While this is normal again @check2 ...
|
1 reply
|
Ok, thank you. Probably too accustomed to Logseq outliners :)
… Le 16 juil. 2026 à 10:54, André Dietrich ***@***.***> a écrit :
No, you define global macros within the first comment above all content ... Then per slide locally, they are only valid for a specific slide, this has to do with the way of how LiaScript parses content, in two steps, header definitions and markdown structure first, then the slide if required. Thinking about hierarchies does not make sense in this case, since the following is also valid Markdown:
###### h6
##### h5
## h2
# Title
—
Reply to this email directly, view it on GitHub <#293?email_source=notifications&email_token=AIDPHFYJRNALKN776PVH3ST5FCJ2TA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGU4TCNBUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17659144>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIDPHF2YSLEWUFI62VZYAYT5FCJ2TAVCNFSNUABIKJSXA33TNF2G64TZHMZDEMBQGUZTCMRWHNCGS43DOVZXG2LPNY5TCMBUGMZTKMZXUF3AE>.
You are receiving this because you authored the thread.
|
1 reply
|
No, I don’t think it’s possible (a plugin?). I try it in VS Code.
… Le 16 juil. 2026 à 17:59, André Dietrich ***@***.***> a écrit :
Did you plan to use LiaScript with Logseq? Does the initial comments affect Logseq?
—
Reply to this email directly, view it on GitHub <#293?email_source=notifications&email_token=AIDPHF5QZUNJCXYWXOYPAYD5FD3XHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGYZTMMZSUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17663632>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIDPHF555KWZVFI3SAAAOAD5FD3XHAVCNFSNUABIKJSXA33TNF2G64TZHMZDEMBQGUZTCMRWHNCGS43DOVZXG2LPNY5TCMBUGMZTKMZXUF3AE>.
You are receiving this because you authored the thread.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Is something like that possible?
<--! @check: <!-- style = "width: 6mm; vertical-align: -1px;" --> -->All reactions