{"id":17327312,"url":"https://github.com/suever/markdownpanel","last_synced_at":"2025-04-14T17:31:00.321Z","repository":{"id":140634093,"uuid":"52998795","full_name":"suever/MarkdownPanel","owner":"suever","description":"Panel for displaying Markdown as HTML within a MATLAB GUI","archived":false,"fork":false,"pushed_at":"2024-06-26T01:14:46.000Z","size":219,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-01T05:22:58.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"MATLAB","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/suever.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-02T21:46:55.000Z","updated_at":"2024-06-26T01:14:49.000Z","dependencies_parsed_at":"2024-06-25T04:47:17.501Z","dependency_job_id":"65a06d83-d927-4fe0-af95-9a979c74b5a0","html_url":"https://github.com/suever/MarkdownPanel","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suever%2FMarkdownPanel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suever%2FMarkdownPanel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suever%2FMarkdownPanel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suever%2FMarkdownPanel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suever","download_url":"https://codeload.github.com/suever/MarkdownPanel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223639403,"owners_count":17177816,"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","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-15T14:19:21.670Z","updated_at":"2024-11-08T06:03:26.673Z","avatar_url":"https://github.com/suever.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![MATLAB FEX](https://img.shields.io/badge/MATLAB%20FEX-60536-green.svg)][fex]\n[![Minimum Version](https://img.shields.io/badge/Requires-R2014a-blue.svg)][matlab]\n\n# MarkdownPanel\nControl which displays markdown as HTML within a MATLAB control\n \n------\nThis control utilizes the [Showdown javascript library][1] to convert\nmarkdown into HTML and then uses MATLAB's own `uihtml` component to\ndisplay the resulting HTML.\n \nIt behaves like any other graphics object within MATLAB in that all\nproperties can either be set upon object construction\n \n    h = MarkdownPanel('Parent', uifigure(), 'Content', '# Hello World!');\n \nOr after object creation using the returned handle\n \n    h = MarkdownPanel();\n    h.Parent = uifigure();\n    set(h, 'Position', [0, 0, 0.5, 0.5])\n \nTo set the actual Markdown content, use the `Content` property. You\ncan provide *either* a string, or a cell array of strings which will\nautomatically create a multi-line entry\n    \n    set(h, 'Content', '#Hello World')\n    set(h, 'Content', {'#Hello World', 'This is a test...'})\n  \nYou can use the `Options` property to modify options that are\nspecific to how Showdown renders the markdown. By default, we use all\nof the default settings except that we enable support for tables.\n  \n    h.Options.tables = true;\n  \nThe `Options` property is simply a struct where the fieldnames are\nthe option names and the value is the option value. You can modify\nthis struct to adjust an option.\n  \n    % Enable support for tasklists\n    h.Options.taskslists = true\n   \nA complete list of options can be found in the [Showdown\ndocumentation][1]\n \n------\n**Usage**\n \n    panel = MarkdownPanel();\n \n**Outputs**\n \n  `panel`,    Graphics Object, The graphics handle that can be used\n              to manipulate the appearance of the control\n \n------\n**Demo**\n \nA demo application has been bundled with this code to show how to use\nsome of the features. To run this demo, simply type the following\ninto the MATLAB console.\n \n    MarkdownPanel.demo()\n\n![Markdown Demo Application][4]\n \n------\n**Attribution**\n \nCopyright (c) \u003c2024\u003e [Jonathan Suever][2].  \nAll rights reserved\n \nThis software is licensed under the [BSD license][3]\n \n[1]: https://github.com/showdownjs/showdown\n[2]: https://github.com/suever\n[3]: https://github.com/suever/MarkdownPanel/blob/main/LICENSE\n[4]: https://cdn.rawgit.com/suever/MarkdownPanel/main/MarkdownPanel.png\n[fex]: https://www.mathworks.com/matlabcentral/fileexchange/60536-markdownpanel\n[matlab]: http://www.mathworks.com/products/matlab/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuever%2Fmarkdownpanel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuever%2Fmarkdownpanel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuever%2Fmarkdownpanel/lists"}