thomasthesecond / EntryInstructions

30 stars 0 forks source link

Add the ability to set and parse HTML/CSS #2

Open stuart-mccoy opened 9 years ago

stuart-mccoy commented 9 years ago

Adding the ability to set and parse HTML/CSS would be very helpful to make organizing instructions much easier. For example I would make fields H1's, p and li tags to further structure instructions, and add em and strong tags within the field descriptions to highlight things like URLs, callout naming conventions, etc.

thomasthesecond commented 9 years ago

By default, you can write field instructions in Markdown and then they get parsed to HTML. http://cl.ly/image/432V3G2a3M1W. Is that what you're looking for?

Also, I could see adding a CSS override field at some point, similar to NSM Publish Hints.

stuart-mccoy commented 9 years ago

Markdown is fine (preferable even) and I was not aware it did that. I'll give it a shot.

As for the CSS, that is exactly what I was looking for. I would recommend looking at how Control Panel CSS (https://github.com/lindseydiloreto/craft-cpcss) does this. They allow you to set a link to a file (even allows {siteUrl} in the path to keep it environmentally friendly) or paste the styles into a text area field.

daniellelecomte commented 9 years ago

Using markdown, but would like to also use some HTML. Is that possible? Mainly want to add images and links that can be opened in a new window.