Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

Nested code block not not well rendered

Open Ducasse opened this issue 1 year ago • 1 comments

	\`\`\`language=pharo|caption=A method&anchor=method 
	pharoMotto 
		^ 'Doing something every is the best way to make progress'
	\`\`\`

produces Capture 2024-04-29 at 22 14 41

but this

	```language=pharo|caption=A method&anchor=method 
	pharoMotto 
		^ 'Doing something every is the best way to make progress'
	```

Capture 2024-04-29 at 22 15 14

Ducasse avatar Apr 29 '24 20:04 Ducasse

in fact nested codeblock was not working at all because for environment we were removing the tabs but for all the elements and it was a mistake. It is the responsibility of the environment to do it and otherwise not. But since an environment such as a slide may contain code block, this is the nesting that was carrying this behavior and not the node itself.

Ducasse avatar Oct 31 '24 17:10 Ducasse