2023 Aug 30 9:56 PM
I wanted to see if I am the only one challenged with creating Code heavy entries in the community. One would wish that the SAP community had a better "code block" that supports standard markdown support so we have proper code formatting etc.
I feel like 50% of the times when I post or comment on something and provide a Code snippet, it is getting garbled up. The answer that I have heard from others is, take code, copy into notepad to clean out formatting and then copy into community which seems cumbersome to me.
Let's hear it and feel free to tell me I am alone on my island with challenges to use the interface. 🙂
2023 Aug 31 7:17 AM
Switch back to display mode and you should get rid of all HTML elements without the need for additional manual cleanup.
2023 Aug 31 7:42 AM
I completely agree. The addition of markdown support would greatly enhance the user experience on this platform. Using markdown syntax for code blocks would automatically format it.
2023 Aug 31 1:38 PM
2023 Aug 31 2:08 PM
@sveabecker , I don't see that functionality in i.e. Ask a Question. Is that just available in Groups, but not the other part of the platform?
2023 Sep 01 7:42 AM
This is good, but it's not auto format your code 🙂 so manual code formatting still would be required prio pasting it to that dialog
2023 Aug 31 2:16 PM - edited 2023 Aug 31 2:16 PM
I thought you were referring to groups.community.sap.com, so yes, it's only available there.
In https://answers.sap.com/index.html you use the "CODE" field as shown in below screenshot @martinstenzig