The best way to do this is to use the "<pre>" html tag and to align them
left. Try this:
<pre align="left">
for (x=1;x<10;x++) {
doSomething(x); <-- indented
}
</pre>
On Thursday, October 24, 2019 at 12:37:05 PM UTC+3, [email protected]
wrote:
>
> I would like to format a snippet of code with indentation, but simply
> typing a tab or extra spaces at the beginning of a line doesn't work. Is
> there an alternative?
>
> What I get:
> for (x=1;x<10;x++) {
> doSomething(x);
> }
>
> What I want :
> for (x=1;x<10;x++) {
> doSomething(x); <-- indented
> }
>
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/e5137743-4cba-4ef9-bb51-fcf5bff55e82%40googlegroups.com.