Searches for file and variable names within content, and wraps them with a span html tag.
| Author: | JS Morisset (profile at wordpress.org) |
| WordPress version required: | 3.9 |
| WordPress version tested: | 5.3 |
| Plugin version: | 1.0.3 |
| Added to WordPress repository: | 20-01-2013 |
| Last updated: | 17-10-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | https://surniaulula.com/extend/plugins/span-f... |
| Total downloads: | 2 901 |
![]() Click to start download |
|
Searches for file names, folder paths, variable and function / method names within the content and comment text, and wraps them with a CSS class.
.spanfile,
.spanvar {
font-family:"Vollkorn", Geneva, sans-serif;
font-size:1em;
letter-spacing:0.5px;
}
.spanvar {
color:#3c3f07;
}
pre .spanfile,
pre .spanvar {
font-family:"Courier", monospace;
font-style:normal;
color:#333;
}
