Skip to content

Releases: xcatliu/pagic

v1.0.0-alpha.1

17 Nov 11:56
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

Pagic v1 is coming!

After releasing v1.0.0-alpha.1,

  • The core function has been developed
  • APIs will not have breaking changes
  • There will have changelogs in each release

Features

Easy to configure

  • Convention over configuration
  • Single config file pagic.config.ts
  • Intuitive design

Support md and tsx

  • Render md/tsx to static HTML page
  • Support React Hooks
  • Pre-render to static HTML, run as an SPA once loaded

Themes and plugins

  • Official themes default/docs/blog with dark mode
  • Combine plugins to build process
  • Import third-party themes or plugins through URL

Demos

v0.6.0

03 Apr 09:31
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Bugfix

  • #9 Return the normalized path
  • #11 Rename path to filePath
  • #10 支持中文

Features

  • #8 Add support for code highlighting

v0.5.0

14 Mar 13:25
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Bugfix

  • Fix watch issue, now only rebuild changed file

Features

  • Add watch() and unwatch() api

v0.4.1

11 Mar 08:32
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Bugfix

  • Fix require cache bug

v0.4.0

11 Mar 08:34
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Breaking Changes

  • Use pagic build instead of pagic
  • require('pagic') will return the Pagic class

New Features

_config.yml

We can set the configuration in _config.yml, the default is:

src_dir: src
public_dir: public

pagic build

We can use pagic build to build static page, there are some options while using build command:

pagic build [options]

# -w, --watch  watch src dir change
# -s, --serve  serve public dir
# -p, --port   override default port

pagic init

We can use pagic init to create a new Pagic folder:

pagic init <dir>

v0.3.0

11 Mar 08:44
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Bugfix

  • Fixed #2

Other Changes

  • Reconstruct to Pagic class
  • Extract processors
  • Add unit tests
  • Add travis