Sistema de documentación y gestión de páginas Web para un entorno o proyecto Web.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
WMarkDown.converter.Modules.Headers = function(wmd){
|
|
|
|
this.pattern = [
|
|
/^(\#{1,6})([^\r\n\#]+)(\#{1,6})?$/m,
|
|
/^(\={1,6})([^\r\n\=]+)(\={1,6})?$/m
|
|
];
|
|
|
|
this.process = matches => `<h` + matches[1].length + `>` + matches[2].trim() + `</h` + matches[1].length + `>`;
|
|
|
|
}; |