{"id":49096885,"url":"https://github.com/atomjoy/parsedown-gallery","last_synced_at":"2026-04-20T21:01:22.714Z","repository":{"id":352632459,"uuid":"1215958740","full_name":"atomjoy/parsedown-gallery","owner":"atomjoy","description":"Parsedown image gallery markdown.","archived":false,"fork":false,"pushed_at":"2026-04-20T12:56:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T14:41:57.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-20T12:27:34.000Z","updated_at":"2026-04-20T12:56:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/atomjoy/parsedown-gallery","commit_stats":null,"previous_names":["atomjoy/parsedown-gallery"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/atomjoy/parsedown-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fparsedown-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fparsedown-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fparsedown-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fparsedown-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomjoy","download_url":"https://codeload.github.com/atomjoy/parsedown-gallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fparsedown-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32065584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-20T21:01:18.438Z","updated_at":"2026-04-20T21:01:22.709Z","avatar_url":"https://github.com/atomjoy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parsedown image gallery\n\nCreate an image gallery from a Markdown file (splide slider).\n\n## Install\n\n```sh\ncomposer require atomjoy/parsedown-gallery\n```\n\n## How to ParsedownGallery\n\nInstall Parsedown and copy this class to your project.\n\n```php\n\u003c?php\n\n$p = new ParsedownGallery();\n\n// Default class .gallery-content\necho $p-\u003etext(\"%%%\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\n%%%\");\n\n// Custom class .gallery-box\necho $p-\u003etext(\"%%%box\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\n%%%\");\n```\n\n### Created ParsedownGallery html\n\n```html\n\u003cdiv class=\"gallery-wrapper\"\u003e\n    \u003cul class=\"gallery-content\"\u003e\n        \u003cli\u003e\n            \u003cimg\n                src=\"https://img.icons8.com/bubbles/100/google-logo.jpg\"\n                data-image=\"1\"\n                class=\"gallery-image gallery-image-1\"\n                alt=\"Image\"\n            /\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003cimg\n                src=\"https://img.icons8.com/bubbles/100/google-logo.jpg\"\n                data-image=\"2\"\n                class=\"gallery-image gallery-image-2\"\n                alt=\"Image\"\n            /\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003cimg\n                src=\"https://img.icons8.com/bubbles/100/google-logo.jpg\"\n                data-image=\"3\"\n                class=\"gallery-image gallery-image-3\"\n                alt=\"Image\"\n            /\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e\n```\n\n## How to ParsedownGallerySplide\n\nInstall Parsedown and copy this class to your project.\n\n```php\n\u003c?php\n\n$p = new ParsedownGallerySplide();\n\necho $p-\u003etext(\"\u0026\u0026\u0026\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\n\u0026\u0026\u0026\");\n\necho $p-\u003etext(\"\u0026\u0026\u0026box\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\nhttps://img.icons8.com/bubbles/100/google-logo.jpg\\n\u0026\u0026\u0026\");\n```\n\n### Created ParsedownGallerySplide html\n\n```html\n\u003cdiv class=\"splide\"\u003e\n    \u003cdiv class=\"splide__track\"\u003e\n        \u003cul class=\"splide__list\"\u003e\n            \u003cli class=\"splide__slide\"\u003e\n                \u003cimg\n                    src=\"https://img.icons8.com/bubbles/200/google-logo.jpg\"\n                    data-image=\"1\"\n                    class=\"splide__image splide__image__1\"\n                    alt=\"Image\"\n                /\u003e\n            \u003c/li\u003e\n            \u003cli class=\"splide__slide\"\u003e\n                \u003cimg\n                    src=\"https://img.icons8.com/bubbles/200/google-logo.jpg\"\n                    data-image=\"2\"\n                    class=\"splide__image splide__image__2\"\n                    alt=\"Image\"\n                /\u003e\n            \u003c/li\u003e\n            \u003cli class=\"splide__slide\"\u003e\n                \u003cimg\n                    src=\"https://img.icons8.com/bubbles/200/google-logo.jpg\"\n                    data-image=\"3\"\n                    class=\"splide__image splide__image__3\"\n                    alt=\"Image\"\n                /\u003e\n            \u003c/li\u003e\n            \u003cli class=\"splide__slide\"\u003e\n                \u003cimg\n                    src=\"https://img.icons8.com/bubbles/200/google-logo.jpg\"\n                    data-image=\"4\"\n                    class=\"splide__image splide__image__4\"\n                    alt=\"Image\"\n                /\u003e\n            \u003c/li\u003e\n            \u003cli class=\"splide__slide\"\u003e\n                \u003cimg\n                    src=\"https://img.icons8.com/bubbles/200/google-logo.jpg\"\n                    data-image=\"5\"\n                    class=\"splide__image splide__image__5\"\n                    alt=\"Image\"\n                /\u003e\n            \u003c/li\u003e\n        \u003c/ul\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\n### Add Splide slider plugin and css\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/js/splide.min.js\"\u003e\u003c/script\u003e\n\u003clink\n    href=\"https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/css/splide.min.css\"\n    rel=\"stylesheet\"\n/\u003e\n\n\u003cscript\u003e\n    /* Required */\n    onload = (event) =\u003e {\n        new Splide('.splide').mount();\n    };\n\u003c/script\u003e\n\n\u003cstyle\u003e\n    .splide {\n        background: #fafafa;\n        width: 100%;\n        height: 400px;\n        /* aspect-ratio: 16/9; */\n    }\n\n    .splide__image {\n        object-fit: cover;\n        width: 100%;\n        height: 400px;\n        /* aspect-ratio: 16/9; */\n    }\n\u003c/style\u003e\n```\n\n## Secure input (optional)\n\n```php\n$p = new ParsedownGallery();\n\n$p-\u003esetSafeMode(true);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fparsedown-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomjoy%2Fparsedown-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fparsedown-gallery/lists"}