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

highlightjs getter #350

Merged
merged 7 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

## [Unreleased]

### Added

- `highlightjs` getter, to access the generated highlight.js instance per Marp Core instances ([#350](https://github.com/marp-team/marp-core/pull/350))

### Changed

- Marp Core instance is no longer using the shared highlight.js instance ([#350](https://github.com/marp-team/marp-core/pull/350))
- Upgrade Node.js and dependent packages to the latest version ([#351](https://github.com/marp-team/marp-core/pull/351))

## v3.7.0 - 2023-06-09
Expand Down
9 changes: 5 additions & 4 deletions marp.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import path from 'node:path'

const dirname = path.dirname(new URL(import.meta.url).pathname)

export default {
engine: path.join(dirname, './lib/marp.js'),
engine: './lib/marp.js',
server: true,
inputDir: path.join(dirname, './sandbox'),
inputDir: path.join(
path.dirname(new URL(import.meta.url).pathname),
'./sandbox',
),
html: true,
options: {
minifyCSS: false,
Expand Down
Loading