Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with autoformatter indentation #22

Open
bilogic opened this issue Aug 9, 2022 · 0 comments
Open

Deal with autoformatter indentation #22

bilogic opened this issue Aug 9, 2022 · 0 comments

Comments

@bilogic
Copy link

bilogic commented Aug 9, 2022

  • LaravelMarkdown Version: 5.1.0
  • PHP version: 7.4.30
  • Laravel version: 8.83.23

Description + Steps To Reproduce:

I hope there is a way to deal with my *.blade.php auto formatter which indents the code as follows and breaks the markdown rendering:

@extends('layout.default')
@section('title')
    testing
@endsection
@section('content')
    <div class="markdown-body">
        @markdown
            # My awesome header

            This text is *italic* but this one is **bold**, you can also add a [Link](http://www.example.com).
        @endmarkdown
    </div>
@endsection

Perhaps be able to define number of spaces to de-indent? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant