Blog Setup - Planning 2018-07-04
In this post:
- I lay out a bunch of tasks I want to accomplish.
- I think about areas I'll need to research.
- I summarize what I've done so far.
- I list some goals for the end of the week.
Here are specific things I want to have working with the blog publisher:
- The blog publisher should be a proper command-line app.
- The blog publisher should have a proper "create local draft" mode again. (It turns out this actually works; I'd simply forgotten about it.)
- The blog publisher should be more responsive to non-zero error codes from subprocesses.
- The blog publisher should notify me when posting fails.
Here are specific things I want to have working with Sublime Text, some of which may not be possible with the current syntax definition:
- I want to update my custom solarized color scheme to a Sublime Color Scheme.
- The custom color scheme should have hashed syntax highlighting for identifiers.
- Constants and variables should have separate slices of the solarized space for their hashed highlighting. (Due to the way PythonImproved works, I probably won't do this, actually.)
- The inside of a string literal should be highlighted but not otherwise formatted or colored, while the quotes should be not highlighted, and formatted or colored.
- Comments should be highlighted and bold.
- If possible, the async, await, and yield (from) keywords should be called out especially.
- global should be very emphasized.
- self and cls should be highlighted specially and given a fixed color.
- Look into highlighting parentheses in a more extreme fashion.
- Do not especially emphasize most keywords.
- Builtin constants should have a different range of colors for hashed highlighting.
- It's a little bit at the point where I kind of want to hack on PythonImproved. Try to get good stuff like highlighting enum members as constants under all circumstances, if I can figure out how.
- Selected text should reverse the background color, and be emphasized when the window is focused.
Here are specific things I want to have working with my blog theme:
- Instead of using my hand-rolled solarized syntax theme on the blog, find someone else's to just drop in.
I actually went and just did that one, using a modification of Nicolas Hery's solarized dark css for pygments. The result has more styling in it, and better documentation of the token types, but it probably needs some work.
So, the important thing in all of this is that I should have a nicer system for publishing to this blog. The nice thing to have when all of this is done, is a syntax highlighting scheme that incorporates a variety of ideas I've been exposed to over time, all in one package.
Next time, I figure out what of the above I can and can't do.