plugins/custom-class/prism-custom-class.js
function map(classMap) {
		if (typeof classMap === 'function') {
			options.classMap = classMap;
		} else {
			options.classMap = function (className) {
				return classMap[className] || className;
			};
		}
	}
function map(classMap) {
		if (typeof classMap === 'function') {
			options.classMap = classMap;
		} else {
			options.classMap = function (className) {
				return classMap[className] || className;
			};
		}
	}
function map ( classMap ) { if ( typeof classMap === 'function' ) { options . classMap = classMap ; } else { options . classMap = function ( className ) { return classMap [ className ] || className ; } ; } }
Maps all class names using the given object or map function.

This does not affect the prefix.

@param {Object<string, string> | ClassMapper} classMap
Maps all class names using the given object or map function .