{"id":16056588,"url":"https://github.com/markbates/markdownr","last_synced_at":"2025-09-03T15:38:47.847Z","repository":{"id":57617929,"uuid":"387500550","full_name":"markbates/markdownr","owner":"markbates","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-19T15:06:28.000Z","size":1719,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T10:24:25.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markbates.png","metadata":{"files":{"readme":"README.md","changelog":"changes-from-blackfriday.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-19T14:52:50.000Z","updated_at":"2021-08-06T17:14:39.000Z","dependencies_parsed_at":"2022-09-08T08:10:30.347Z","dependency_job_id":null,"html_url":"https://github.com/markbates/markdownr","commit_stats":null,"previous_names":["markbates/markdown"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/markbates/markdownr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbates%2Fmarkdownr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbates%2Fmarkdownr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbates%2Fmarkdownr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbates%2Fmarkdownr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markbates","download_url":"https://codeload.github.com/markbates/markdownr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbates%2Fmarkdownr/sbom","scorecard":{"id":619717,"data":{"date":"2025-08-11","repo":{"name":"github.com/markbates/markdownr","commit":"9fcc976a0f7db4c3a4b5b1d81290ad3aace6093c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/markbates/markdownr/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/markbates/markdownr/go.yml/main?enable=pin","Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:3","Warn: containerImage not pinned by hash: .devcontainer/base.Dockerfile:3","Warn: goCommand not pinned by hash: .devcontainer/library-scripts/go-debian.sh:119","Warn: downloadThenRun not pinned by hash: .devcontainer/library-scripts/go-debian.sh:123","Warn: goCommand not pinned by hash: s/fuzz.sh:8","Warn: goCommand not pinned by hash: s/fuzz.sh:9","Warn: downloadThenRun not pinned by hash: s/test_with_codecoverage.sh:14","Warn: goCommand not pinned by hash: .github/workflows/go.yml:27","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   4 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T04:55:22.659Z","repository_id":57617929,"created_at":"2025-08-21T04:55:22.660Z","updated_at":"2025-08-21T04:55:22.660Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273467332,"owners_count":25111129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T03:00:27.692Z","updated_at":"2025-09-03T15:38:47.818Z","avatar_url":"https://github.com/markbates.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Markdown Parser and HTML Renderer for Go\n\n[![GoDoc](https://godoc.org/github.com/markbates/markdownr?status.svg)](https://godoc.org/github.com/markbates/markdownr) [![codecov](https://codecov.io/gh/markbates/markdownr/branch/master/graph/badge.svg)](https://codecov.io/gh/markbates/markdownr)\n\nPackage `github.com/markbates/markdownr` is a very fast Go library for parsing [Markdown](https://daringfireball.net/projects/markdown/) documents and rendering them to HTML.\n\nIt's fast and supports common extensions.\n\n## API Docs:\n\n- https://godoc.org/github.com/markbates/markdownr : top level package\n- https://godoc.org/github.com/markbates/markdownr/ast : defines abstract syntax tree of parsed markdown document\n- https://godoc.org/github.com/markbates/markdownr/parser : parser\n- https://godoc.org/github.com/markbates/markdownr/html : html renderer\n\n## Users\n\nSome tools using this package:\n\n- https://github.com/MichaelMure/go-term-markdown : markdown renderer for the terminal\n- https://github.com/artyom/mdserver : web server that serves markdown files\n- https://github.com/rsdoiel/mkpage : content management system generating static websites\n- https://github.com/cugu/dashboard : creates a badge dashboard from a yaml file\n- https://github.com/ieyasu/go-bwiki : simple wiki\n- https://github.com/romanyx/mdopen : view markdown files in the default browser\n- https://github.com/ystyle/sqlmanager : a library for manager sql with markdown like beetsql\n- https://gitlab.com/kendellfab/fazer : library for making templates\n\n## Usage\n\nTo convert markdown text to HTML using reasonable defaults:\n\n```go\nmd := []byte(\"## markdown document\")\noutput := markdown.ToHTML(md, nil, nil)\n```\n\n## Customizing markdown parser\n\nMarkdown format is loosely specified and there are multiple extensions invented after original specification was created.\n\nThe parser supports several [extensions](https://godoc.org/github.com/markbates/markdownr/parser#Extensions).\n\nDefault parser uses most common `parser.CommonExtensions` but you can easily use parser with custom extension:\n\n```go\nimport (\n    \"github.com/markbates/markdownr\"\n    \"github.com/markbates/markdownr/parser\"\n)\n\nextensions := parser.CommonExtensions | parser.AutoHeadingIDs\nparser := parser.NewWithExtensions(extensions)\n\nmd := []byte(\"markdown text\")\nhtml := markdown.ToHTML(md, parser, nil)\n```\n\n## Customizing HTML renderer\n\nSimilarly, HTML renderer can be configured with different [options](https://godoc.org/github.com/markbates/markdownr/html#RendererOptions)\n\nHere's how to use a custom renderer:\n\n```go\nimport (\n    \"github.com/markbates/markdownr\"\n    \"github.com/markbates/markdownr/html\"\n)\n\nhtmlFlags := html.CommonFlags | html.HrefTargetBlank\nopts := html.RendererOptions{Flags: htmlFlags}\nrenderer := html.NewRenderer(opts)\n\nmd := []byte(\"markdown text\")\nhtml := markdown.ToHTML(md, nil, renderer)\n```\n\nHTML renderer also supports reusing most of the logic and overriding rendering of only specifc nodes.\n\nYou can provide [RenderNodeFunc](https://godoc.org/github.com/markbates/markdownr/html#RenderNodeFunc) in [RendererOptions](https://godoc.org/github.com/markbates/markdownr/html#RendererOptions).\n\nThe function is called for each node in AST, you can implement custom rendering logic and tell HTML renderer to skip rendering this node.\n\nHere's the simplest example that drops all code blocks from the output:\n\n````go\nimport (\n    \"github.com/markbates/markdownr\"\n    \"github.com/markbates/markdownr/ast\"\n    \"github.com/markbates/markdownr/html\"\n)\n\n// return (ast.GoToNext, true) to tell html renderer to skip rendering this node\n// (because you've rendered it)\nfunc renderHookDropCodeBlock(w io.Writer, node ast.Node, entering bool) (ast.WalkStatus, bool) {\n    // skip all nodes that are not CodeBlock nodes\n\tif _, ok := node.(*ast.CodeBlock); !ok {\n\t\treturn ast.GoToNext, false\n    }\n    // custom rendering logic for ast.CodeBlock. By doing nothing it won't be\n    // present in the output\n\treturn ast.GoToNext, true\n}\n\nopts := html.RendererOptions{\n    Flags: html.CommonFlags,\n    RenderNodeHook: renderHookDropCodeBlock,\n}\nrenderer := html.NewRenderer(opts)\nmd := \"test\\n```\\nthis code block will be dropped from output\\n```\\ntext\"\nhtml := markdown.ToHTML([]byte(md), nil, renderer)\n````\n\n## Sanitize untrusted content\n\nWe don't protect against malicious content. When dealing with user-provided\nmarkdown, run renderer HTML through HTML sanitizer such as [Bluemonday](https://github.com/microcosm-cc/bluemonday).\n\nHere's an example of simple usage with Bluemonday:\n\n```go\nimport (\n    \"github.com/microcosm-cc/bluemonday\"\n    \"github.com/markbates/markdownr\"\n)\n\n// ...\nmaybeUnsafeHTML := markdown.ToHTML(md, nil, nil)\nhtml := bluemonday.UGCPolicy().SanitizeBytes(maybeUnsafeHTML)\n```\n\n## mdtohtml command-line tool\n\nhttps://github.com/markbates/mdtohtml is a command-line markdown to html\nconverter built using this library.\n\nYou can also use it as an example of how to use the library.\n\nYou can install it with:\n\n    go get -u github.com/markbates/mdtohtml\n\nTo run: `mdtohtml input-file [output-file]`\n\n## Features\n\n- **Compatibility**. The Markdown v1.0.3 test suite passes with\n  the `--tidy` option. Without `--tidy`, the differences are\n  mostly in whitespace and entity escaping, where this package is\n  more consistent and cleaner.\n\n- **Common extensions**, including table support, fenced code\n  blocks, autolinks, strikethroughs, non-strict emphasis, etc.\n\n- **Safety**. Markdown is paranoid when parsing, making it safe\n  to feed untrusted user input without fear of bad things\n  happening. The test suite stress tests this and there are no\n  known inputs that make it crash. If you find one, please let me\n  know and send me the input that does it.\n\n  NOTE: \"safety\" in this context means _runtime safety only_. In order to\n  protect yourself against JavaScript injection in untrusted content, see\n  [this example](https://github.com/markbates/markdownr#sanitize-untrusted-content).\n\n- **Fast**. It is fast enough to render on-demand in\n  most web applications without having to cache the output.\n\n- **Thread safety**. You can run multiple parsers in different\n  goroutines without ill effect. There is no dependence on global\n  shared state.\n\n- **Minimal dependencies**. Only depends on standard library packages in Go.\n\n- **Standards compliant**. Output successfully validates using the\n  W3C validation tool for HTML 4.01 and XHTML 1.0 Transitional.\n\n## Extensions\n\nIn addition to the standard markdown syntax, this package\nimplements the following extensions:\n\n- **Intra-word emphasis supression**. The `_` character is\n  commonly used inside words when discussing code, so having\n  markdown interpret it as an emphasis command is usually the\n  wrong thing. We let you treat all emphasis markers as\n  normal characters when they occur inside a word.\n\n- **Tables**. Tables can be created by drawing them in the input\n  using a simple syntax:\n\n  ```\n  | Name  | Age |\n  | ----- | --- |\n  | Bob   | 27  |\n  | Alice | 23  |\n  ```\n\n  Table footers are supported as well and can be added with equal signs (`=`):\n\n  ```\n  | Name     | Age    |\n  | -------- | ------ |\n  | Bob      | 27     |\n  | Alice    | 23     |\n  | ======== | ====== |\n  | Total    | 50     |\n  ```\n\n  A cell spanning multiple columns (colspan) is supported, just repeat the pipe symbol:\n\n  ```\n  | Name     | Age    |\n  | -------- | ------ |\n  | Bob      |        |\n  | Alice    | 23     |\n  | ======== | ====== |\n  | Total    | 23     |\n  ```\n\n\n- **Fenced code blocks**. In addition to the normal 4-space\n  indentation to mark code blocks, you can explicitly mark them\n  and supply a language (to make syntax highlighting simple). Just\n  mark it like this:\n\n      ```go\n      func getTrue() bool {\n          return true\n      }\n      ```\n\n  You can use 3 or more backticks to mark the beginning of the\n  block, and the same number to mark the end of the block.\n\n- **Definition lists**. A simple definition list is made of a single-line\n  term followed by a colon and the definition for that term.\n\n      Cat\n      : Fluffy animal everyone likes\n\n      Internet\n      : Vector of transmission for pictures of cats\n\n  Terms must be separated from the previous definition by a blank line.\n\n- **Footnotes**. A marker in the text that will become a superscript number;\n  a footnote definition that will be placed in a list of footnotes at the\n  end of the document. A footnote looks like this:\n\n      This is a footnote.[^1]\n\n      [^1]: the footnote text.\n\n- **Autolinking**. We can find URLs that have not been\n  explicitly marked as links and turn them into links.\n\n- **Strikethrough**. Use two tildes (`~~`) to mark text that\n  should be crossed out.\n\n- **Hard line breaks**. With this extension enabled newlines in the input\n  translate into line breaks in the output. This extension is off by default.\n\n- **Non blocking space**. With this extension enabled spaces preceeded by an backslash n the input\n  translate non-blocking spaces in the output. This extension is off by default.\n\n- **Smart quotes**. Smartypants-style punctuation substitution is\n  supported, turning normal double- and single-quote marks into\n  curly quotes, etc.\n\n- **LaTeX-style dash parsing** is an additional option, where `--`\n  is translated into `\u0026ndash;`, and `---` is translated into\n  `\u0026mdash;`. This differs from most smartypants processors, which\n  turn a single hyphen into an ndash and a double hyphen into an\n  mdash.\n\n- **Smart fractions**, where anything that looks like a fraction\n  is translated into suitable HTML (instead of just a few special\n  cases like most smartypant processors). For example, `4/5`\n  becomes `\u003csup\u003e4\u003c/sup\u003e\u0026frasl;\u003csub\u003e5\u003c/sub\u003e`, which renders as\n  \u003csup\u003e4\u003c/sup\u003e\u0026frasl;\u003csub\u003e5\u003c/sub\u003e.\n\n- **MathJaX Support** is an additional feature which is supported by\n  many markdown editor. It translate inline math equation quoted by `$`\n  and display math block quoted by `$$` into MathJax compatible format.\n  hyphen `_` won't break LaTeX render within a math element any more.\n\n  ```\n  $$\n  \\left[ \\begin{array}{a} a^l_1 \\\\ ⋮ \\\\ a^l_{d_l} \\end{array}\\right]\n  = \\sigma(\n   \\left[ \\begin{matrix}\n   \tw^l_{1,1} \u0026 ⋯  \u0026 w^l_{1,d_{l-1}} \\\\\n   \t⋮ \u0026 ⋱  \u0026 ⋮  \\\\\n   \tw^l_{d_l,1} \u0026 ⋯  \u0026 w^l_{d_l,d_{l-1}} \\\\\n   \\end{matrix}\\right]  ·\n   \\left[ \\begin{array}{x} a^{l-1}_1 \\\\ ⋮ \\\\ ⋮ \\\\ a^{l-1}_{d_{l-1}} \\end{array}\\right] +\n   \\left[ \\begin{array}{b} b^l_1 \\\\ ⋮ \\\\ b^l_{d_l} \\end{array}\\right])\n   $$\n  ```\n\n- **Ordered list start number**. With this extension enabled an ordered list will start with the\n  the number that was used to start it.\n\n- **Super and subscript**. With this extension enabled sequences between ^ will indicate\n  superscript and ~ will become a subscript. For example: H~2~O is a liquid, 2^10^ is 1024.\n\n- **Block level attributes**, allow setting attributes (ID, classes and key/value pairs) on block\n  level elements. The attribute must be enclosed with braces and be put on a line before the\n  element.\n\n  ```\n  {#id3 .myclass fontsize=\"tiny\"}\n  # Header 1\n  ```\n\n  Will convert into `\u003ch1 id=\"id3\" class=\"myclass\" fontsize=\"tiny\"\u003eHeader 1\u003c/h1\u003e`.\n\n- **Mmark support**, see \u003chttps://mmark.miek.nl/post/syntax/\u003e for all new syntax elements this adds.\n\n## Todo\n\n- port https://github.com/russross/blackfriday/issues/348\n- port [LaTeX output](https://github.com/Ambrevar/Blackfriday-LaTeX):\n  renders output as LaTeX.\n- port https://github.com/shurcooL/github_flavored_markdown to markdown\n- port [markdownfmt](https://github.com/shurcooL/markdownfmt): like gofmt,\n  but for markdown.\n- More unit testing\n- Improve unicode support. It does not understand all unicode\n  rules (about what constitutes a letter, a punctuation symbol,\n  etc.), so it may fail to detect word boundaries correctly in\n  some instances. It is safe on all utf-8 input.\n\n## History\n\nmarkdown is a fork of v2 of https://github.com/russross/blackfriday that is:\n\n- actively maintained (sadly in Feb 2018 blackfriday was inactive for 5 months with many bugs and pull requests accumulated)\n- refactored API (split into ast/parser/html sub-packages)\n\nBlackfriday itself was based on C implementation [sundown](https://github.com/vmg/sundown) which in turn was based on [libsoldout](http://fossil.instinctive.eu/libsoldout/home).\n\n## License\n\n[Simplified BSD License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbates%2Fmarkdownr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkbates%2Fmarkdownr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbates%2Fmarkdownr/lists"}