---
title: wasPublic
description: >-
  Whether the build would have published a note with `markdown`'s frontmatter,
  unprotected: not a draft, not private, in no password group. A revision it
  would have hidden stays hidden, though the page is public now. Frontmatter the
  build couldn't read counts as hidden.
updated_at: '2026-11-19T11:52:32+01:00'
created_at: '2026-11-19T11:52:32+01:00'
symbol:
  kind: function
  name: wasPublic
  signatures:
    - 'wasPublic(markdown: string): boolean'
  parameters:
    - name: markdown
      type: string
  returns:
    type: boolean
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/render.ts#L50
---

# wasPublic
