text: /**
   * @module reparse
   * @version 0.0.2
   * @author Lucio Francisco
   * @description Hacks the unified/remark node modules to work as a markdown parser in a browser, the parser turns the input text into a MDAST syntaxt tree @see {https://github.com/remarkjs/remark}
   */
  
  (function(global){
    'use strict';
  	
    // Implements a basic process shim to support vfile/path modules to work in a browser
  	if(!!global && !global.process) {
  		
  		global.process = {
  			//env: { DEBUG: undefined },
  			cwd: function() { return '/'; },
  			platform: ''
  		};
  	}
  
    // Imports the UNIFIED and REMARK modules
  	const unified = require('unified');
  	const parse   = require('remark-parse');
  	const subsup  = require('remark-sub-super');
  	const align   = require('remark-align');
  
    // Setupd the markdown parser configured with the given options @see {https://github.com/remarkjs/remark/tree/master/packages/remark-parse}
    function reparseFactory(options) {
      return unified()
  			.use(parse, options)
  			.use(subsup)
  			.use(align)
    	  .freeze();
    }
  
    // Exports the parser setup function
  	module.exports = { reparseFactory }
    
  }(window));