Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to inject Views into Markdown articles #125

Open
jverkoey opened this issue Aug 8, 2024 · 0 comments
Open

Add the ability to inject Views into Markdown articles #125

jverkoey opened this issue Aug 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jverkoey
Copy link
Collaborator

jverkoey commented Aug 8, 2024

Consider a markdown article like this:

Lots of text

<div class="flex flex-row items-center justify-center flex-wrap">
  Some HTML.
</div>

Lots more text.

The div portion of the Markdown would ideally be injectable in some fashion using a more canonical Slipstream View definition:

var body: some View {
  Div {
  ...
  }
}

This would require some kind of special markup that the Markdown renderer would need to handle.

@jverkoey jverkoey added the enhancement New feature or request label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant