As I haven’t really linked to this site much yet, it’s still both my dev & production site … still experimenting. Syntaxhighlighter is essential for me. I started off with the WordPress plug-in but I’ve been finding it complex to get my head-around for using it for ajax-loaded (custom-post-type) posts with code, which is what […]

DIY WordPress PHP shortcodes – Code Snippets plugin

About Plugin My Snippets Example Update: 6th March 2017 Days later: I’m already out-growing these snippets … as I’ve abandoned the WordPress plug-in for Syntaxhighlighter, and am now using the general client-side build cloned from GitHub, with a little extra hacked into the build-output currently for ajax (custom event), I’ve decided to make my own […]

Testing menucool.com tabbed-content

http://www.menucool.com/tabbed-content Tab1 Tab2 Tab3 I can see real potential in this to help organise some work. UPDATE: I’m now using menutab (probably will be retrospectively as well). e.g. https://blog.xarta.co.uk/2017/03/diy-shortcodes/ However, for using my new shortcode “xpostcontent”, I did have to add some CSS to hide the additional printfriendly button: content 2 content 3

Syntax Highlighter in a lightbox – improved

I’ve tidied up my CSS and JavaScript used for my implementation of presenting code on my website. Yes – I know I still need to refactor my CSS classnames to at least throw a nod at the prevailing standards. Update 4th March 2017 Done … at least I’ve got rid of the camel-case class names; […]

Making the fancy font

ARA      TC Hopefully the above “words” meant to be , playfully, “XARTA TECH” appear in the fancy font I made for the purpose. www.online-convert.com freefontconverter.com icomoon.io dnesscarkey.com online-convert.com allowed me to convert icon files (the jpeg magnifying glass I downloaded from the web, the “X” made out of crossed tools I’d found on the web, and also an […]

Syntax Highlighter in a lightbox, with width control

One of the main reasons for creating this blog, is the detailing of my exploits with code, IT, and hardware (arduino, Pi etc. etc.). I looked at various offerings and how others did it e.g. StackOverflow, but I wasn’t really happy. Didn’t do what I wanted: syntax-highlighting full-screen on desktop & mobile and in portrait […]