开发者 | frisfruitig |
---|---|
更新时间 | 2019年6月20日 22:01 |
捐献地址: | 去捐款 |
PHP版本: | 5.3.6 及以上 |
WordPress版本: | 5.2 |
版权: | GPLv2 |
版权网址: | 版权信息 |
/wp-content/plugins/ff-block-gist-embed
directory of your site or blog, or install the plugin through the WordPress plugins screen directly.Yes, you can. However, this plugin lists all the files from the same Gist in the same order as on gist.github.com. If you need to list files in a different order than on gist.github.com, use multiple Gist Embed blocks.
By default, Gist Embed is configured to load vendor stylesheets for Gist embeds (each Gist comes packed with CSS that handles the styling for the embed containers on the frontend). You can select whether or not to load vendor stylesheets for each Gist Embed block by (un)checking the 'Include stylesheet' checkbox in the sidebar menu (see the screenshots). Please note: this checkbox is checked by default for each Gist Embed block. Performance-wise, it is advised to uncheck this checkbox for all but one of the Gist Embed blocks on the same post.
There is an option to embed the checked file(s) from the Gist Embed block as raw content in the sidebar (unchecked by default). By checking this checkbox, the content from each checked file is loaded as raw content instead of embedded in a Gist embed container. This could be useful for HTML prototypes, for example. Note that if you check this checkbox, the vendor stylesheet is never loaded for this block.
Yes. Provided your active theme supports the 'wide' and 'full' alignment options, you can configure each block to align wide or take up the full width. The CSS classes that are added, are alignwide
and alignfull
, respectively. Your theme should already apply the correct styling for these classes.