Parma icon indicating copy to clipboard operation
Parma copied to clipboard

Paragraph styling

Open Brett-Best opened this issue 4 years ago • 1 comments

It looks like the following function isn’t called anywhere, not sure if it should be or not.

https://github.com/dasautoooo/Parma/blob/3c213ac453e1fe49e3113578a9b19c8d79b06589/Sources/Parma/Render/ParmaRenderable.swift#L21-L23

I ended up having to use

func paragraphBlock(view: AnyView) -> AnyView

instead.

Brett-Best avatar Apr 12 '21 09:04 Brett-Best

Hi @Brett-Best , Parma treats paragraph as an HTML block object, thus func paragraph(text: String) -> Text does nothing. It might be removed in future versions.

dasautoooo avatar May 13 '21 16:05 dasautoooo