---
title: history
description: >-
  Page history. By default, page history and Recent changes as plugin pages, and
  a History action on every published Markdown page. With `source: "git"`,
  prerendered previous versions of the notes that ask for them, on any target.
updated_at: '2026-11-19T22:03:58+01:00'
created_at: '2026-11-19T08:33:37+01:00'
symbol:
  kind: function
  name: history
  signatures:
    - >-
      history(options?:
      [[reference/api/plugin-history/HistoryOptions|HistoryOptions]]):
      [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]
  parameters:
    - name: options
      type: '[[reference/api/plugin-history/HistoryOptions|HistoryOptions]]'
      optional: true
  returns:
    type: '[[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-history/src/index.ts#L72
---

# history
