-
Notifications
You must be signed in to change notification settings - Fork 35
Add option to emit Annotated Source (and units) in Markdown format #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
While annotated source can be written to file in both XHTML & RTF only RTF is used in writing to the clipboard. Since there is no special Markdown clipboard format that I can find, there's no way of writing Markdown to the clipboard without overwriting the plain text format version. |
I'm wondering whether there's any point saving annotated source or units in Markdown format. Since only compilable Pascal is saved in either case, there's very little different between the plain text version and the Markdown version. For example, take the annotated source code for the
whereas the Markdown equivalent, would be exactly the same as above except it would be wrapped in triple backtick (```) tokens . |
Because of the above I'm moving this issue back to "considering". |
Another point against implementation is that to render a view from the save dialogue boxes, a Markdown to HTML converter would be needed. To render highlighted wouldn't use the CodeSnip highlighter but would need a third party add in that worked with HTML (maybe in JavaScript). It is an option that the preview button would be disabled or that raw Markdown would be displayed as plain text. Finally, how would Markdown be rendered? Should the code fencing use plain text fencing:
or annotated fencing?
|
Markdown format might be more appropriate for saving snippet information, with the File | Save Snippet Information option? Note: as this issue is created this menu option is not released, but is in the |
See isssue #155 which proposes this option. |
All in all, there isn't much point in implementing this issue now that the File | Save Snippet Information option has been proposed in issue #155. So, I'm rejecting this issue. |
There's already the option to format annotated source code in RTF and XHTML.
Being able to render the source in Markdown format could be useful too.
The text was updated successfully, but these errors were encountered: