mirror of
				https://github.com/LamGC/wp-asciiplayer.git
				synced 2025-11-04 02:26:55 +00:00 
			
		
		
		
	
			
				
					
						
					
					024da252d92da920ca5d5a10c751bbd6b5f0a0b2
				
			
			
		
	Bumps [webpack](https://github.com/webpack/webpack) from 5.85.0 to 5.85.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.85.0...v5.85.1) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
wp-asciiplayer
Play Ascicast files in the post!
Quick start
Add a shortcode to the post and enter the following:
[asciiplayer]https://asciinema.org/a/28307.cast[/asciiplayer]
The content of the shortcode is the URL of the ascicast file.
Options
The AsciiPlayer shortcode supports the options supported by Asciinema-player, such as setting fit to height and closing the control bar:
[asciiplayer fit="height" controls="false"]https://asciinema.org/a/28307.cast[/asciiplayer]
You can find all available options here.
Currently, only the
loggeroption is not supported because it requires an object to be passed in.
Style options
For the convenience of customizing player elements,
the plugin has added an additional style option,
which corresponds to the style attribute of the player container element:
[asciiplayer style="width: 80%;"]https://asciinema.org/a/28307.cast[/asciiplayer]
Description
				
					Languages
				
				
								
								
									PHP
								
								53.4%
							
						
							
								
								
									JavaScript
								
								45.6%
							
						
							
								
								
									CSS
								
								1%