For example, to embed the gist: 30948 enter this in a post or page:
It is that simple.
You would use it like this:
[gist id=30948] puts hello_world_test; i = 0 5.times do i = i + 1 puts i end [/gist]
The content inside a gist shortcode is optional.
View the CHANGELOG to see what has changed between versions.
1) Download the plugin zip file.
3) Upload the github_gist_shortcode directory to your wordpress plugin directory (/wp-content/plugins).
4) Activate the plugin.
5) Use the gist shortcode in your posts or pages
لا توجد مراجعات لهذه الإضافة.