Hugo-Shortcodes icon indicating copy to clipboard operation
Hugo-Shortcodes copied to clipboard

expanded codecaption functionality

Open wolfspyre opened this issue 3 years ago • 2 comments

Thanks for sharing your shortcodes. Quite useful!!

This PR expands the codecaption shortcode functionality by allowing user to specify options to feed highlight.

Additionally adds the option to display the language name in the rendered output.

wolfspyre avatar Nov 02 '22 16:11 wolfspyre

Apologies for the delay in response.

Thanks for the PR and teaching me a great way to pass options to shortcodes. My shortcodes are so old they could be starting school right now.

Do you wanna make another commit and add your name to the file before I merge this?

Note to self: Add the showlang option for codecaption and add a second image to showcase it.

parsiya avatar Jan 20 '23 22:01 parsiya

nah. I noticed that it's not working the way I'd hoped it would anymore.... seems like something changed in the option logic in the last few hugo vers. as soon as I get around to fixing I'll submit a fix.... but I don't need credit... youve helped me a bunch with your bits n pieces! Thank you!

wolfspyre avatar Jan 22 '23 20:01 wolfspyre