Post mit Java Code: Formattierung und Leerzeichen
-
Hallo,
Ich hänge seit lange mit ein problem bei der Einbettung von Java code in mein Post.
Es gibt zwar die möglichkeit mit:
[code language='java']
[/code]
java code einzubetten aber die Formattierung wird – gegenüber mein Java-code-Editor – geändert.
Teilweise verschwindet ein teil der code oder die Leerzeichen werden anders gesetzt.Hat jemand ähnliche probleme?
The blog I need help with is: (visible only to logged in users)
-
Hi there!
Users are not allowed to post JavaScript on WordPress.com blogs.
https://en.support.wordpress.com/code/ explains this.
However, there is a way to post source code for viewing. If you follow the directions in:
https://en.support.wordpress.com/code/posting-source-code/
you will be able to post the code for people to see.Hope that helps!
dave -
Hi there,
Can you please provide a link to a post where your code is not posting correctly? Can you also please give me an example of how it should look? Options there is to use the Code button here in the forums to post it, or you can paste the code into Codepen.io or Cloudup.com and give me a link so I can view it outside of WordPress.com.
The OP clearly asked a question about embedding source code into a post, so I don’t understand why you would start an answer with saying JavaScript cannot be used. Focus on answering the question. Don’t just paste in every link that has the same key word as a word the OP used :)
-
Sorry, my German isn’t perfect and i misunderstood what was being asked. Apologies for any confusion i may have caused. I did include how to post code though :D
d -
And http://de.forums.wordpress.com is an option for getting support in the German language. That forum is pretty active.
-
I don’t speak German at all, but I could see exactly what they’re asking via Google Translate :)
Thanks. Forgot about that!
-
- The topic ‘Post mit Java Code: Formattierung und Leerzeichen’ is closed to new replies.