Hey guys,
I am experiencing something that goes way beyond my wisdom… for some reason, Meteor is rendering the first line of my Markdown as a code block. Everything until the first line break is considered code, regardless of what it is. I checked the text to see if there are any symbols causing this, but everything seems to be correct… I am using the good old markdown package from Meteor itself.
Any ideas?
Here is my code:
text.html
<div class="row first-row readRow">
<div class="col-12">
<div id="pageText">
{{#markdown}}
{{textToShow}}
{{/markdown}}
</div>
</div> <!-- end col-->
</div>
text.js
//this is the only relevant part
Template.TextRead.helpers({
'textToShow'(){
let text = 'Hello my friends';
return text;
}
});
result