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

Macros inside the File or Code tag #29

Closed
EvgeniyDoctor opened this issue May 13, 2023 · 1 comment
Closed

Macros inside the File or Code tag #29

EvgeniyDoctor opened this issue May 13, 2023 · 1 comment

Comments

@EvgeniyDoctor
Copy link

I want to use a macros inside the file or code tag, but it does not work.
Here is my macros DC:

dc(){ bash... }; dc "%1"

If i just write #@DC~data~@# it will work, but if i wrap it with code tag like this:

<code bash>
#@DC~data~@#
</code>

i see #@DC~data~@# as is.

And i tried already put html tags to DC_HTML to simulate the code tag (<pre></pre>). But i think this is a bad idea and syntax highlighting is not working with this.

So, how can i achieve this?

@turnermm
Copy link
Owner

The function of the code tag is to output the text literally. All markup is output as is.

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

No branches or pull requests

2 participants