/// <summary>Creates the type of the image.</summary> /// <param name="markdownTypeId">The markdown type identifier.</param> /// <returns>The <see cref="string"/>.</returns> public static string CreateImageType0(MarkdownTypeId markdownTypeId) { return(string.Format(@"![{0}]", markdownTypeId.ImageReference)); }
/// <summary>Creates the image type source.</summary> /// <param name="markdownTypeId">The markdown type identifier.</param> /// <returns>The <see cref="string"/>.</returns> public static string CreateImageTypeSource(MarkdownTypeId markdownTypeId) { return(CreateImageTypeSource($@"{markdownTypeId.AlternateText}", $@"{markdownTypeId.RelativeImagePath}", $@"{markdownTypeId.HoverTextSource}")); }
/// <summary>Creates the type of the image.</summary> /// <param name="markdownTypeId">The markdown type identifier.</param> /// <returns>The <see cref="string"/>.</returns> public static string CreateImageType(MarkdownTypeId markdownTypeId) { return(string.Format(@"[![{0}][{1}]][{2}]", markdownTypeId.AlternateText, markdownTypeId.ImageReference, markdownTypeId.SourceReference)); }