Comments (4)
Sorry, I can't reproduce this. (Tried adding a couple blank lines to index.st in the demo site, then recompiling, and everything is fine.) Please give more detailed instructions on how to reproduce the problem.
from yst.
Sorry. I guess I was too quick to diagnose, but it seemed repeatable.. It seems like it also depends on spaces in the beginning of the line, and other factors, so perhaps this is the expected behavior. Here is an example (this is the index.st file).
<span class="style1">Here I come to save the day</span><br>
<p>Mighty mouse is on his way!<br>
# Welcome
Have a nice day!
The mighty mouse line appears as HTML on the rendered page (as a code block).
If I remove the LF between the two HTML lines OR begin that line with less than four spaces, the problem disappears. I guess the four space is due to markdown identifying the line as belonging to a code block, which does not happen when the parser thinks it is inside an HTML block, which for some reason it ends on the LF. Or something like that...
(I am on Windows, with the release version, without the patch from yesterday)
from yst.
I'm not sure I see the problem. In markdown, a block separated from surrounding material by whitespace and indented four spaces or one tab is supposed to appear as a code block. index.st is a markdown template, so what you're seeing is perfectly correct. Just unindent the <p>...</p>
if you don't want it as a code block.
from yst.
I agree. I failed to realized that the LF was significant for the code block to be recognized. My bad.
from yst.
Related Issues (20)
- Passing Pandoc Arguments to YST HOT 1
- HDBC sqlite3 not installing with cabal HOT 3
- html5 output? HOT 1
- Possibility of having data within document HOT 1
- On new install, using demo site, yst fails on april_events.tex HOT 3
- yst.cabal is out of date, as it's no longer possible to install via "cabal install yst". HOT 4
- Please support XML data
- `cabal install yst` fails HOT 2
- storee HOT 1
- can give a sample site which is based on yst?
- Typo in readme
- Support custom `$nav$` rendering using templates HOT 4
- How can one implement dynamic pages. [feature request][discussion] HOT 4
- installation fails on nixos HOT 4
- yst won't install on Ubuntu 18.04 HOT 1
- Pandoc 2.9.* compatibility
- Installation fails HOT 5
- Failed to build yst - Ambiguous occurrence ‘defaultTimeLocale’ HOT 1
- yst fails to build with aeson >= 2
- Build fails: yst-0.7.1.3 from Cabal on MacOS -- "writeDocbook5" capitalization? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yst.