diff --git a/composer.json b/composer.json index a574efd..1feafee 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "xsavo/markdown-blog", + "name": "apxcde/markdown-blog", "description": "Markdown-powered blog package for Laravel apps", "type": "library", "license": "proprietary", @@ -15,21 +15,21 @@ }, "autoload": { "psr-4": { - "xsavo\\MarkdownBlog\\": "src/" + "apxcde\\MarkdownBlog\\": "src/" } }, "autoload-dev": { "psr-4": { - "xsavo\\MarkdownBlog\\Tests\\": "tests/" + "apxcde\\MarkdownBlog\\Tests\\": "tests/" } }, "extra": { "laravel": { "providers": [ - "xsavo\\MarkdownBlog\\MarkdownBlogServiceProvider" + "apxcde\\MarkdownBlog\\MarkdownBlogServiceProvider" ], "aliases": { - "MarkdownBlog": "xsavo\\MarkdownBlog\\Facades\\MarkdownBlog" + "MarkdownBlog": "apxcde\\MarkdownBlog\\Facades\\MarkdownBlog" } } }, diff --git a/src/ArticleRepository.php b/src/ArticleRepository.php index 96e9860..1e372d7 100644 --- a/src/ArticleRepository.php +++ b/src/ArticleRepository.php @@ -1,13 +1,13 @@ ` styles) + * - anchors, aliases, tags, and multi-document markers + * - lines without a colon + * + * If richer metadata is needed, keep frontmatter flat and scalar, or parse + * the value (e.g. a comma-separated list) in the consumer. + */ class FrontmatterParser { private const UTF8_BOM = "\xEF\xBB\xBF"; diff --git a/tests/ArticleRepositoryTest.php b/tests/ArticleRepositoryTest.php index da0f1e8..c68c2af 100644 --- a/tests/ArticleRepositoryTest.php +++ b/tests/ArticleRepositoryTest.php @@ -1,7 +1,7 @@ set('markdown-blog.articles_path', __DIR__.'/Fixtures/articles'); diff --git a/tests/FrontmatterParserTest.php b/tests/FrontmatterParserTest.php index a1e1181..776e4dd 100644 --- a/tests/FrontmatterParserTest.php +++ b/tests/FrontmatterParserTest.php @@ -1,6 +1,6 @@ in(__DIR__); diff --git a/tests/TestCase.php b/tests/TestCase.php index 0e3d59b..5586e56 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,9 +1,9 @@