{"id":47979208,"url":"https://github.com/takb/markflat.showdown","last_synced_at":"2026-04-04T11:01:15.160Z","repository":{"id":44220312,"uuid":"178384243","full_name":"takb/markflat.showdown","owner":"takb","description":"showdown.js extension for rendering markflat flavored markdown","archived":false,"fork":false,"pushed_at":"2022-12-30T17:22:43.000Z","size":152,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-27T19:25:10.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-29T10:25:34.000Z","updated_at":"2024-05-27T19:25:10.527Z","dependencies_parsed_at":"2023-01-31T12:15:59.552Z","dependency_job_id":null,"html_url":"https://github.com/takb/markflat.showdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takb/markflat.showdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takb%2Fmarkflat.showdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takb%2Fmarkflat.showdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takb%2Fmarkflat.showdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takb%2Fmarkflat.showdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takb","download_url":"https://codeload.github.com/takb/markflat.showdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takb%2Fmarkflat.showdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31397056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-04T11:00:36.658Z","updated_at":"2026-04-04T11:01:15.152Z","avatar_url":"https://github.com/takb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markflat.showdown\r\n[showdown.js](https://github.com/showdownjs/showdown) extension for rendering markflat flavored markdown\r\n\r\n## install\r\n```sh\r\nnpm install takb/markflat.showdown\r\n```\r\n\r\n## use \r\n```javascript\r\nconst showdown = require('showdown');\r\nrequire('markflat.showdown');\r\n\r\nvar converter = new showdown.Converter({ extensions: ['markflat'] });\r\nconverter.makeHtml(\"# Title - Artist\\n1. first verse {F} lyrics\\n~Chorus {a7}lyrics of {C}chorus\")\r\n/* output: \r\n\u003ch1 id=\"titlespanclassmbartistartistspan\"\u003e\r\n  Title\u003cspan class=\"mb-artist\"\u003e - Artist\u003c/span\u003e\r\n\u003c/h1\u003e\r\n\u003col\u003e\r\n  \u003cli class=\"mb-has-chords\"\u003e\r\n    first verse \u003cspan class=\"mb-ca\"\u003e\u003cspan class=\"mb-chord\"\u003eF\u003c/span\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/span\u003elyrics\r\n  \u003c/li\u003e\r\n\u003c/ol\u003e\r\n\u003cul\u003e\r\n  \u003cli class=\"mb-has-chords\" list=\"Chorus\"\u003e\r\n    \u003cspan class=\"mb-ca\"\u003e\u003cspan class=\"mb-chord\"\u003ea\u003csup\u003e7\u003c/sup\u003e\u003c/span\u003el\u003c/span\u003eyrics of \u003cspan class=\"mb-ca\"\u003e\u003cspan class=\"mb-chord\"\u003eC\u003c/span\u003ec\u003c/span\u003ehorus\r\n  \u003c/li\u003e\r\n\u003c/ul\u003e\r\n*/\r\n```\r\n## options \r\n- **mbZoom** (default: `100`)  \r\nZoom factor in %. If mbEnableZoom is set to true, prepends CSS style tag with `font-size: [mbZoom]%;` to converted html.\r\n- **mbEnableZoom** (default: `false`)\r\n- **mbTransposeBy** (default: `0`)  \r\nNumber of transpose steps (-12 - +12). Requires mbTranspose to be a function that relies on this value.\r\n- **mbTranspose**  \r\nFunction to transpose the key of all chords in the document. Set only if you need to custmize the transposition function.\r\n- **mbAddMinorChordMarker** (default: `false`)  \r\nIf `true`, adds charcter 'm' to minor chords ('a7' =\u003e 'am7').\r\n- **mbAddStyle** (default: `false`)  \r\nIf `true`, prepends CSS style tag with styling form mbStyle to converted html.\r\n- **mbStyle**  \r\nThe CSS style string. Change to customize how converted HTML is rendered.  \r\n\r\nExample:\r\n```javascript\r\nvar converter = new showdown.Converter({ \r\n  extensions: ['markflat'],\r\n  mbEnableZoom: true,\r\n  mbAddStyle: true\r\n});\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakb%2Fmarkflat.showdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakb%2Fmarkflat.showdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakb%2Fmarkflat.showdown/lists"}