govlabacademy / govlabacademy.github.io

DEPRECATED. The old GovLab Academy website.
1 stars 2 forks source link

we need paragraphs #90

Open dino-at-thegovlab opened 9 years ago

dino-at-thegovlab commented 9 years ago

Many of the content was written in different paragraphs, but YAML joins everything together.

That doesn't work visually. Paragraphs exist for a reason. How can I go into the YAML and adjust the content for when it need a paragraph space?

sahuguet commented 9 years ago

http://stackoverflow.com/questions/3748585/preserve-new-lines-in-yaml

On Sun, Feb 1, 2015 at 2:47 PM, Dinorah Cantú-Pedraza < notifications@github.com> wrote:

Many of the content was written in different paragraphs, but YAML joins everything together.

That doesn't work visually. Paragraphs exist for a reason. How can I go into the YAML and adjust the content for when it need a paragraph space?

— Reply to this email directly or view it on GitHub https://github.com/GovLab/academy/issues/90.

Arnaud Sahuguet – Chief Technology Officer

dino-at-thegovlab commented 9 years ago

So, just add ':'\n and new line appears? Yes, @claudioccm ? Don't want to mess up the code.

dino-at-thegovlab commented 9 years ago

@sahuguet after I commit a change, there's a process to do to see the change on the site, right?

sahuguet commented 9 years ago

Yes. I will show you tomorrow.

On Sun, Feb 1, 2015 at 3:20 PM, Dinorah Cantú-Pedraza < notifications@github.com> wrote:

@sahuguet https://github.com/sahuguet after I commit a change, there's a process to do to see the change on the site, right?

— Reply to this email directly or view it on GitHub https://github.com/GovLab/academy/issues/90#issuecomment-72382124.

Arnaud Sahuguet – Chief Technology Officer

dino-at-thegovlab commented 9 years ago

Thanks :)

sahuguet commented 9 years ago

I pushed the latest.

On Sun, Feb 1, 2015 at 4:32 PM, Dinorah Cantú-Pedraza < notifications@github.com> wrote:

Thanks :)

— Reply to this email directly or view it on GitHub https://github.com/GovLab/academy/issues/90#issuecomment-72385330.

Arnaud Sahuguet – Chief Technology Officer

dino-at-thegovlab commented 9 years ago

Will reopen because later the week I would like to work on the paragraphs.

claudioccm commented 9 years ago

@sahuguet - would it be possible to add Markdown support for YAML fields? Do you know how it would work between yaml and jinja? This could be a great feature for several areas. Right now we could use them in this issue @dino-at-thegovlab is describing, and that would also make it possible to take the FAQs out of the HTML into it's own YAML file. What do you think?