Skip to content

Error While including PHP code in markdown #76

@bosunski

Description

@bosunski

I wanted to do something like this in my markdown file i.e use PHP code:

<?php
return [
	//...
	'facebook' => [
			'client_id' => env('FACEBOOK_CLIENT_ID'),
			'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
			'redirect' => env('FACEBOOK_CLIENT_CALLBACK'),
		],
	// ...
];

When I run kulfon build, I get this:

Cannot read property 'buildPlaceholders' of undefined

but when I remove the php and change to another language, say js it works without error.

Is there something I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions