From bde96043c1d6a6968c5030198b1fc662f00d56bf Mon Sep 17 00:00:00 2001 From: eliascarv <73039601+eliascarv@users.noreply.github.com> Date: Tue, 21 Dec 2021 17:09:10 -0300 Subject: [PATCH] Add const keyword to alias declarations. This prevents the identifiers var"@markdownliteral" and var"@mdx" from being assigned other values. --- src/MarkdownLiteral.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MarkdownLiteral.jl b/src/MarkdownLiteral.jl index aa5207f..bb8243d 100644 --- a/src/MarkdownLiteral.jl +++ b/src/MarkdownLiteral.jl @@ -121,7 +121,7 @@ end # Some aliases, it's up to you which one to import. -var"@markdownliteral" = var"@markdown" -var"@mdx" = var"@markdown" +const var"@markdownliteral" = var"@markdown" +const var"@mdx" = var"@markdown" -end \ No newline at end of file +end