[pollen] Newbie Question about Rendering from Author Mode

2019-05-17 Thread Eugene Wallingford

 I am new to Pollen and just working through the Quick Tour. 
 Everything works as
 expected until I get to the sections on Markdown mode and Pollen mode. 
 When I
 render downtown.html.pmd, whether at the command line or with the 
server, I see
 a line of partially-processed plaintext:

Pollen + Markdown —— + You *wanted* Plutonium — you *got* it. + search 
for Plutonium 

 When I render uptown.html.pp, I see a line of Racket-y plaintext:

'(h2 "Pollen markup") '(ul (li (p "You " (strong "wanted") " it — you " 
(em "got") " it.")) "\n" (li (p (a ((href 
"https://google.com/search?q=racket";)) "search for Racket"

 So Pollen is doing some processing of my files, but it doesn't seem to 
be
 taking the final step.  Can someone point out what I'm missing? 
 Thanks.

 Eugene

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pollenpub/1203692a-2b1d-4ea2-9174-3a9ccb20abf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] Newbie Question about Rendering from Author Mode

2019-05-17 Thread Matthew Butterick
Looks like you put an incorrect "pp" extension on those source files. The first 
one needs to be named "downtown.html.pmd" and the other "uptown.html.pm".


> On May 17, 2019, at 10:52 AM, Eugene Wallingford  wrote:
> 
>  I am new to Pollen and just working through the Quick Tour.  Everything 
> works as
>  expected until I get to the sections on Markdown mode and Pollen mode.  
> When I
>  render downtown.html.pmd, whether at the command line or with the 
> server, I see
>  a line of partially-processed plaintext:
> 
> Pollen + Markdown —— + You wanted Plutonium — you got it. + search for 
> Plutonium 
> 
>  When I render uptown.html.pp, I see a line of Racket-y plaintext:
> 
> '(h2 "Pollen markup") '(ul (li (p "You " (strong "wanted") " it — you " (em 
> "got") " it.")) "\n" (li (p (a ((href "https://google.com/search?q=racket 
> ")) "search for Racket"
> 
>  So Pollen is doing some processing of my files, but it doesn't seem to be
>  taking the final step.  Can someone point out what I'm missing?  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pollenpub/5D37674A-1F5D-4D41-AD88-17A37AF382CF%40mbtype.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] Newbie Question about Rendering from Author Mode

2019-05-17 Thread Matthew Butterick

> On May 17, 2019, at 11:36 AM, Eugene Wallingford  wrote:
> 
> I still have the problem with downtown.html.pmd, which has
> the correct extension.  I get the text emphasis and the link, but
> not the header, linebreaks, or list items.


When you render "downtown.html.pmd" in the project server, what is the actual 
HTML generated (visible in "View Source")?


-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pollenpub/1D3657D4-D7D2-4806-86E4-010C365DDFC0%40mbtype.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] Newbie Question about Rendering from Author Mode

2019-05-17 Thread Eugene Wallingford


> > I still have the problem with downtown.html.pmd, which has
> > the correct extension.  I get the text emphasis and the link, but
> > not the header, linebreaks, or list items.
> 
> When you render "downtown.html.pmd" in the project server, what is the
> actual HTML generated (visible in "View Source")?
 
 A single  component.  My mistake was in the pmd file: I
 didn't include the blank lines around the first "+ ...".  That
 whitespace matters to Markdown.  The whitespace around the
 headline in "uptown.html.pm" is not significant.

 Thanks for the quick help.

 Eugene

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pollenpub/20190517190910.GB5904%40cs.uni.edu.
For more options, visit https://groups.google.com/d/optout.