Sometimes I need to create internal links from inside the <syntaxhighlight ></syntaxhighlight > tags. Is it possible and, if yes, than how can it be done?
Topic on Extension talk:SyntaxHighlight
No, but there is an alternative way... For example, see Template:Translating.
Yes. Solution exists. I use it on my help page for example code, but in wiki must be installed Extension:Variables.
- First I set
{{#vardefine:temp|10 000,-}}
value of the variable - Next use for view exemple code
{{#tag:syntaxhighlight|{{#var:temp}}|lang=haskell}}
- And finally I use
{{#var:temp}}
for the interpretation