brethash / glossarize Goto Github PK
View Code? Open in Web Editor NEWSearchs an input string for a given array of terms and definitions. If terms are found in the input string, the function wraps each word in a dfn tag, associates it with the proper definition, and returns the modified input string.
Home Page: http://brethash.com
License: GNU General Public License v3.0