Hi,
how do I mark code sections in my posts?
Regards, Tom
@tom Select the markdown option on "Format comment as...." and indent using 4 spaces for code blocks :)
You can find more details on markdown at http://daringfireball.net/projects/markdown/syntax
@yvonney I really like vanilla and its modularity, but I agree that it might be difficult to follow at first as discussions are separated from categories by default.
I'm the only one here who likes Vanilla? Why you prefer put_forum_script_name_here over Vanilla?
If we can know what this Vanilla setup is missing we might add a plugin to improve it.
missing:
So... this forum script I have seen many times and I think it has some good code etc.
Select the markdown option on "Format comment as...."
is it bold and italic?
/* Some Code goes here */
$i = 1;
print($i);
You can find more details on markdown at http://daringfireball.net/projects/markdown/syntax
This is even better, I think.
The "Search" in the forum does not find text formatted with markdown as a "Code Block" for example
Tyrannosaurus
Pterodactyl
Search will then find P*********l but not T***********s! As you often want to find method names e.g. "getContentColumns" etc. it would be useful if the markdown was searched as well.
@pauld I've built up a Google custom search for Akelos and might replace Vanilla search with Google's one.
If you find a valuable resource let me know so I can add it to the Search engine.
1 to 9 of 9