Skip to content
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

How much of what flavor of Markdown does Kiwi support? #7

Closed
FrankDMartinez opened this issue May 9, 2017 · 4 comments
Closed

How much of what flavor of Markdown does Kiwi support? #7

FrankDMartinez opened this issue May 9, 2017 · 4 comments

Comments

@FrankDMartinez
Copy link

For example, does it support "a href"s to be able to link to specific parts of specific files? Tagging of files?

@landakram
Copy link
Owner

Kiwi uses hoedown for markdown rendering. By default, these extensions are enabled:

  • hoedown.Extensions.TABLES: Parse PHP-Markdown style tables.
  • hoedown.Extensions.FENCED_CODE: Parse fenced code blocks.
  • hoedown.Extensions.FOOTNOTES: Parse footnotes.
  • hoedown.Extensions.AUTOLINK: Automatically turn safe URLs into links.
  • hoedown.Extensions.STRIKETHROUGH: Parse ~~strikethrough~~ spans.
  • hoedown.Extensions.UNDERLINE: Parse _underline_ instead of emphasis.
  • hoedown.Extensions.HIGHLIGHT: Parse ==highlight== spans.
  • hoedown.Extensions.QUOTE: Render \"quotes\" as <q>quotes</q>.
  • hoedown.Extensions.SUPERSCRIPT: Parse super^script.
  • Rendering of - [ ] checkboxes.
  • Rendering of wiki style [[ ]] links.

Right now the wiki style links don't support linking to a specific part of a specific wiki page.

Also, a quick test shows that you can link to another part of the same page using HTML <a> anchors, but it's kind of clunky as it opens in the built-in browser meant for external URLs.

I'm not 100% sure what you mean by tagging files. Can you clarify that?

@FrankDMartinez
Copy link
Author

In some products, such as the Bear app, files can be tagged with, say, #ABCDEFG, and One can then select all files with that particular tag to look at, similar to how Wikipedia has "Categories" at the end of many articles.

@landakram
Copy link
Owner

That would be awesome, but it's not implemented yet.

As a workaround, I typically make pages named with the intended "category". These pages have a list of other wiki pages that belong in the category.

@landakram
Copy link
Owner

@FrankDMartinez, I opened a separate issue to track work on tags, which I think is a great idea: #12

Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants