Giter Club home page Giter Club logo

Comments (7)

bostonareahuman avatar bostonareahuman commented on June 30, 2024 1

so I played around a bit:

<DIV class="col-xs-3">

**Photo**
</DIV>
<DIV class="col-xs-3">Photo</DIV>
<DIV class="col-xs-3">Photo</DIV>
<DIV class="col-xs-3">Photo</DIV>
</DIV>
<div class="row">
<DIV class="col-sm-9 col-xs-12 smbotmargin" id="announcements" style="margin-bottom:10px">
<DIV id="mainstories" class="" style="border:1px solid rgba(0,0,0,.15);min-height:50px;">
@foreach ($stories as $story)
<DIV>
<h3>{!!$story->news_title!!}</H3>
<p>

{!!$story->news_body!!}
</p>
</DIV>
@endforeach

was the way to solve the issue....still unsure why thought.

Note the line spaces before the *** and the news_body variables

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on June 30, 2024 1

Yeh, that's because Laravel removes the whitespace just before when you write blade stuff.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on June 30, 2024

Does clearing your cached views fix this?

from laravel-markdown.

bostonareahuman avatar bostonareahuman commented on June 30, 2024

I just ran php artisan view:clear and it did not work.
I also cleared the browser cache just in case

from laravel-markdown.

bostonareahuman avatar bostonareahuman commented on June 30, 2024

Did an experiment...

In the bodytext.md.blade.php

I replaced the word photo with **photo** and it did not render.

I replace the whole text with just **photo** and it rendered correctly. so something in the bodytext.md.blade.php is stopping the rendering engine.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on June 30, 2024

so something in the bodytext.md.blade.php is stopping the rendering engine.

I don't think that is happening. @include in Laravel does do strange things with removing lines though. Maybe try adding extra newlines.

from laravel-markdown.

bostonareahuman avatar bostonareahuman commented on June 30, 2024

Where should I add the extra new lines.?

from laravel-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.