org2jekyll - org2jekyll - This org-mode file is missing required header(s):
- The categories is required, please add ’#+CATEGORIES’ at the top of your org buffer.
- The description is required, please add ’#+DESCRIPTION’ at the top of your org buffer.
When only description is not specified. This PR hopes to solve this by tweaking the special line regex so it accepts options with empty values, but org2jekyll-get-options-from-buffer just doesn't add them the option plist, so that the option parsing is not ended prematurely.
Have you checked and/or added tests?
I've added a test for a watered down version of the above example.
Rapid summary
This PR fixes the edge case of some options being messaged as missing when they are specified.
What issue does this fix or improve?
With:
M-x org2jekyll-publish
messages:When only description is not specified. This PR hopes to solve this by tweaking the special line regex so it accepts options with empty values, but
org2jekyll-get-options-from-buffer
just doesn't add them the option plist, so that the option parsing is not ended prematurely.Have you checked and/or added tests?
I've added a test for a watered down version of the above example.
Thanks!