From 98d57f09b41af1e1231d763a9c87dd4ed9d02118 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 15 Oct 2024 11:19:51 +0330 Subject: [PATCH] Fix documentation typos (#354) * fix: a typo spelling: InlineContentBuilder * fix: a typo spelling: markdown --- Sources/MarkdownUI/DSL/Inlines/InlineContentBuilder.swift | 2 +- .../MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MarkdownUI/DSL/Inlines/InlineContentBuilder.swift b/Sources/MarkdownUI/DSL/Inlines/InlineContentBuilder.swift index e2dc7cb1..ad2b9e78 100644 --- a/Sources/MarkdownUI/DSL/Inlines/InlineContentBuilder.swift +++ b/Sources/MarkdownUI/DSL/Inlines/InlineContentBuilder.swift @@ -3,7 +3,7 @@ import Foundation /// A result builder that you can use to compose Markdown inline content. /// /// You don't call the methods of the result builder directly. Instead, MarkdownUI annotates the `content` parameter of the -/// ``Paragraph``, ``Heading``, and ``TextTableColumn`` initializers with the `@InlineContentBuider` attribute, +/// ``Paragraph``, ``Heading``, and ``TextTableColumn`` initializers with the `@InlineContentBuilder` attribute, /// implicitly calling this builder for you. @resultBuilder public enum InlineContentBuilder { public static func buildBlock(_ components: InlineContentProtocol...) -> InlineContent { diff --git a/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift b/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift index b50e16cd..66fa4a03 100644 --- a/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift +++ b/Sources/MarkdownUI/Theme/BlockStyle/ListMarkerConfiguration.swift @@ -1,6 +1,6 @@ import SwiftUI -/// The properties of a list marker in a mardown list. +/// The properties of a list marker in a markdown list. /// /// The theme ``Theme/bulletedListMarker`` and ``Theme/numberedListMarker`` /// block styles receive a `ListMarkerConfiguration` input in their `body` closure.