Skip to content

Commit 38e8c74

Browse files
committed
resolve format issue
1 parent 8b7efba commit 38e8c74

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mod.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Marked.marked.use({
2727
});
2828

2929
/**
30-
* An extension of Marked.Renderer which helps
30+
* An extension of Marked.Renderer which helps
3131
* @param options these are options passed into Renderer to decide various configuration
3232
* @param options.allowMath This enables the math module
3333
* @param baseUrl This helps with parsing links to go to the expected url in use
@@ -41,7 +41,7 @@ export class Renderer extends Marked.Renderer {
4141

4242
/**
4343
* Constructor for Renderer class used to initialize baseUrl, allowMath, and #slugger
44-
* @param options
44+
* @param options
4545
*/
4646
constructor(options: Marked.MarkedOptions & RenderOptions = {}) {
4747
super(options);
@@ -57,8 +57,8 @@ export class Renderer extends Marked.Renderer {
5757
* @param raw TODO: How do you pass this in?
5858
* @example in markdown
5959
* ```md
60-
* ### Hi there
61-
* =>
60+
* ### Hi there
61+
* =>
6262
* <h3 id="hi_there"><linkgoeshere></linkgoeshere>Hi There<h3>
6363
* ```
6464
*/
@@ -78,8 +78,8 @@ export class Renderer extends Marked.Renderer {
7878
* @param alt alt text for the image
7979
* @example in markdown
8080
* ```md
81-
* ![Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.](https://myoctocat.com/assets/images/base-octocat.svg)
82-
* =>
81+
* ![Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.](https://myoctocat.com/assets/images/base-octocat.svg)
82+
* =>
8383
* <img src="${src}" alt="${alt}" title="${title ?? ""}" />
8484
* ```
8585
* from github https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images
@@ -124,7 +124,7 @@ export class Renderer extends Marked.Renderer {
124124
* @param href Url to go to
125125
* @param title Additional Attribute
126126
* @param text text for the link - TODO: How do you pass this in?
127-
* @returns
127+
* @returns
128128
*/
129129
link(href: string, title: string | null, text: string): string {
130130
const titleAttr = title ? ` title="${title}"` : "";
@@ -219,7 +219,7 @@ export interface RenderOptions {
219219
*/
220220
export function render(markdown: string, opts: RenderOptions = {}): string {
221221
opts.mediaBaseUrl ??= opts.baseUrl;
222-
/** Replace all emoji names in a string with actual emojis with emojify */
222+
/** Replace all emoji names in a string with actual emojis with emojify */
223223
markdown = emojify(markdown);
224224
if (opts.allowMath) {
225225
/** Replace all math blocks and inline into math */

0 commit comments

Comments
 (0)