{"id":15721352,"url":"https://github.com/yuriidorosh/markdown-viewer","last_synced_at":"2026-05-01T14:34:08.303Z","repository":{"id":185377531,"uuid":"673418365","full_name":"YuriiDorosh/markdown-viewer","owner":"YuriiDorosh","description":"\"Markdown Viewer\" is a simple GTK-based application to view Markdown files.","archived":false,"fork":false,"pushed_at":"2023-08-08T15:33:09.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T23:12:30.072Z","etag":null,"topics":["c","c-language","c-language-programming","gtk","gtk3","markdowm","markdown-parser","markdown-to-html","markdown-viewer"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YuriiDorosh.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":"2023-08-01T15:19:51.000Z","updated_at":"2024-05-18T03:46:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bd9a7ee-8da2-4b07-a6ba-7dcb99f3da84","html_url":"https://github.com/YuriiDorosh/markdown-viewer","commit_stats":null,"previous_names":["yuriidorosh/markdown-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuriiDorosh%2Fmarkdown-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuriiDorosh%2Fmarkdown-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuriiDorosh%2Fmarkdown-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuriiDorosh%2Fmarkdown-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YuriiDorosh","download_url":"https://codeload.github.com/YuriiDorosh/markdown-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390873,"owners_count":20769478,"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":["c","c-language","c-language-programming","gtk","gtk3","markdowm","markdown-parser","markdown-to-html","markdown-viewer"],"created_at":"2024-10-03T22:01:01.662Z","updated_at":"2026-05-01T14:34:08.255Z","avatar_url":"https://github.com/YuriiDorosh.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n[![video_deconstration](https://img.youtube.com/vi/oADotso-z_E/0.jpg)](https://www.youtube.com/watch?v=oADotso-z_E)\n\n\n\"Markdown Viewer\" is a simple GTK-based application to view Markdown files. This application allows users to:\n\n- Convert the displayed Markdown content to HTML.\n- Save the rendered HTML content to a file.\n- Preview the HTML content in a web browser.\n\n## Prerequisites\n\n- `gtk3` - The GTK+ graphical UI library.\n- `cmark` - A C implementation of CommonMark.\n\nInside the application:\n\n1. Click on \"Open .md File\" to select a Markdown file you wish to view.\n2. The Markdown content will be displayed in the main view.\n3. Click on \"Save HTML\" to save the rendered HTML content to a file.\n4. Click on \"Open in Browser\" to preview the rendered content in your default web browser.\n\n## Features\n\n1. **Markdown Display**: The application reads and displays the content of Markdown files.\n2. **HTML Rendering**: Uses the `cmark` library to convert Markdown content to an HTML string.\n3. **File Interactions**: Provides options to open Markdown files and save the rendered HTML content.\n4. **Browser Preview**: Allows users to view the rendered HTML in a browser.\n\n## Known Issues\n\n- The \"Open in Browser\" function uses `xdg-open temp.html` which works for Linux-based systems. For cross-platform compatibility, this might need adjustments.\n\n## Contribution\n\nFeel free to fork, modify, and submit pull requests. Ensure you test your code before submitting any changes.\n\n## License\n\nThis project is open-source. Ensure you reference it if used for any of your projects.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriidorosh%2Fmarkdown-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuriidorosh%2Fmarkdown-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriidorosh%2Fmarkdown-viewer/lists"}