New plugin released on WordPress.org!
Embed Block for Github adds a new embed block in the editor. This block provide a nice GitHub embed card to display information about any public GitHub repository. Some example below:
wp-core-privacy-data-request-form (this link opens in a new window) by audrasjb (this link opens in a new window)
New WordPress Core feature proposal: Privacy Data Request front-end Form.
It could also be used inside a column block:
gutenberg (this link opens in a new window) by WordPress (this link opens in a new window)
The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
The block comes with some basic CSS styles but it is designed to adapt to your theme stylesheet. Every HTML element use a specific class, so it’s also easy to override those CSS styles in your child theme.
Technically, it use
ServerSideRender Gutenberg component and the GitHub API. Every API call is stored inside transients to avoid overuse of GitHub public API routes.
It’s very easy to use inside the editor:
Embed Block for Github is available on WordPress.org:
Contributions are welcome on the GitHub repository of this plugin:
embed-block-for-github (this link opens in a new window) by audrasjb (this link opens in a new window)
Easily embed GitHub repositories in Gutenberg Editor.
If you love that plugin, you can buy me a beer! 🍺😍
One reply on “🧱New plugin: GitHub Embed Block for Gutenberg”
Hi, i love this plugin and use it in all my python related posts where I share code via Github, but the Github block seems not to work with newest wordpress, it shows up correctly but is not clickable and does not redirect.