Skip to main content


reshared this

in reply to Kristi H.

@kmh Excellent! Just a tip: Friendica allows code formatting, which makes readability better, while also escaping the code (depending on markup language, some sequences or characters, such as asterisk and underline, could accidentally be parsed as bold/italic).

I don't fully remember which one is the valid syntax for the web version, I guess it's the markdown one (I'm using an Android app to access Friendica, and the app allows me to set either bbcode, html or markdown):

Bbcode: [ code ]your code[ /code ] (remove the spaces)
Html: < code >your code< /code > (remove the spaces)
Markdown: three grave accents (`) in a single line, then the code, then another single line with three grave accents.

Example:

html, body {
margin: 0px;
padding: 0px;
height: 100%;
}

Becomes:
html, body {
margin: 0px;
padding: 0px;
height: 100%;
}

Hope this helps!

in reply to Daemon Silverstein

Thanks! I put the entire thing inside of [pre]...[/pre] but somehow I scrolled right past the "code blocks" part of the Friendica BBCode reference.