mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-10 19:54:57 +02:00
17 lines
572 B
JavaScript
17 lines
572 B
JavaScript
"use strict";
|
|
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const linkify_1 = require("./linkify");
|
|
function markdownLoader(source) {
|
|
const fileString = source;
|
|
const callback = this.async();
|
|
const options = this.getOptions();
|
|
return callback(null, (0, linkify_1.linkify)(fileString, this.resourcePath, options));
|
|
}
|
|
exports.default = markdownLoader;
|