Swift code formatting in a blog
-
Hello,
II published an article here:
https://pauladdy.com/2018/02/25/tips-for-xcode-project-configurations-and-swift-code-performance/It is ugly. I would like to show the code in a better way. I tried to apply the information found at this link, but it does not work.
https://en.support.wordpress.com/code/posting-source-code/The code found at this website is nicely formatted with line numbers, a rectangle, options on top of the rectangle such as copy to clipboard, and we can even scroll horizontally:
https://www.andrewcbancroft.com/2018/02/24/swift-cheat-sheet-for-iphone-camera-access-usage/Is there any way I could show via css the swift code in a pretty way?
The blog I need help with is: (visible only to logged in users)
-
How do I close a topic I just created…?
We solved it here: https://en.forums.wordpress.com/topic/code-formatting-in-a-wordpress-blog?replies=9#post-3077942
-
- The topic ‘Swift code formatting in a blog’ is closed to new replies.