<section id="base-markdown-page-methods">

<!-- Start generated docs for Hyde\Pages\Concerns\BaseMarkdownPage -->
<!-- Generated by HydePHP DocGen script at 2023-03-10 18:22:36 in 0.67ms -->

#### `make()`

Create a new page instance. Static alias for the constructor.

```php
BaseMarkdownPage::make(string $identifier, Hyde\Markdown\Models\FrontMatter|array $matter, Hyde\Markdown\Models\Markdown|string $markdown): static
```

#### `__construct()`

Construct a new page instance.

```php
$page = new BaseMarkdownPage(string $identifier, Hyde\Markdown\Models\FrontMatter|array $matter, Hyde\Markdown\Models\Markdown|string $markdown): void
```

#### `markdown()`

Return the document&#039;s Markdown object.

```php
$page->markdown(): Hyde\Markdown\Models\Markdown
```

#### `compile()`

Compile the page into static HTML.

```php
$page->compile(): string // The compiled HTML for the page.
```

#### `save()`

Save the Markdown page object to disk by compiling the front matter array to YAML and writing the body to the file.

```php
$page->save(): $this
```

<!-- End generated docs for Hyde\Pages\Concerns\BaseMarkdownPage -->

</section>
