Difference between revisions of "Template:Code/doc"

From LFS Manual
Jump to navigationJump to search
(Created page with "Inline source code output. {{subst:mra|{{code|console.log('hello')}}}} Category:Programming typing-aid templates")
 
m
Line 2: Line 2:
  
 
{{markup|
 
{{markup|
<nowiki>{{code|console.log('hello')}}</nowiki>|{{code|console.log('hello')}}}}<!-- Template:Mra -->
+
<nowiki>{{code|console.log('hello')}}</nowiki>|{{code|console.log('hello')}}}}<!-- Template:Mra --><includeonly>[[Category:Programming typing-aid templates]]</includeonly>
 
 
[[Category:Programming typing-aid templates]]
 

Revision as of 09:44, 3 December 2023

Inline source code output.

Markup Renders as
{{code|console.log('hello')}}

console.log('hello')