Closed ispringle closed 2 years ago
This can be done as a plugin or by adding a className
here (conditional on whether headline has a todo keyword): https://github.com/rasendubi/uniorg/blob/da79786f7c3afda29f8fb65052e09ca4fec6d4f3/packages/uniorg-rehype/src/org-to-hast.ts#L261
Here is an example of how to do that with a plugin: https://github.com/rasendubi/uniorg/pull/46#issuecomment-1236140015
It'd be great if the task headings ie:
Had a class name added so we can style them separately from the regular headings.