Forgejo · Schema

MarkupOption

MarkupOption markup options

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
BranchPath string The current branch path where the form gets posted
Context string Context to render
FilePath string File path for detecting extension in file mode
Mode string Mode to render (comment, gfm, markdown, file)
Text string Text markup to render
Wiki boolean Is it a wiki page ?
View JSON Schema on GitHub

JSON Schema

markupoption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "MarkupOption",
  "description": "MarkupOption markup options",
  "type": "object",
  "properties": {
    "BranchPath": {
      "description": "The current branch path where the form gets posted",
      "type": "string"
    },
    "Context": {
      "description": "Context to render",
      "type": "string"
    },
    "FilePath": {
      "description": "File path for detecting extension in file mode",
      "type": "string"
    },
    "Mode": {
      "description": "Mode to render (comment, gfm, markdown, file)",
      "type": "string"
    },
    "Text": {
      "description": "Text markup to render",
      "type": "string"
    },
    "Wiki": {
      "description": "Is it a wiki page ?",
      "type": "boolean"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}