Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WikiLink

import { WikiLink } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/humble/core.ts";
class WikiLink {
constructor(
name: string,
anchor: string | undefined,
link: string,
original: string,
);
link: string;
 
toHugo(): string;
 
static private getMediaType(match: string): WikiLinkType;
static public fromMatches(matches: RegExpMatchArray): WikiLink;
static public fromString(content: string): Array<WikiLink>;
static public isImage(wikilink: WikiLink): boolean;
static public isMedia(wikilink: WikiLink): boolean;
static public isText(wikilink: WikiLink): boolean;
}

§Constructors

§
new WikiLink(name: string, anchor: string | undefined, link: string, type: WikiLinkType, original: string)
[src]

§Properties

§Methods

§
toHugo(): string
[src]

§Static Methods

§
getMediaType(match: string): WikiLinkType private
[src]
§
fromMatches(matches: RegExpMatchArray): WikiLink
[src]
§
fromString(content: string): Array<WikiLink>
[src]
§
isImage(wikilink: WikiLink): boolean
[src]
§
isMedia(wikilink: WikiLink): boolean
[src]
§
isText(wikilink: WikiLink): boolean
[src]