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

Use "kbd" tag for shortcuts in manual #34

Open
ghost opened this issue Nov 14, 2017 · 4 comments
Open

Use "kbd" tag for shortcuts in manual #34

ghost opened this issue Nov 14, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 14, 2017

Use <kbd>Key</kbd> tag for all shortcuts in manual instead?

  • Now we has:

     New

    Ctrl+N

  • Try:

     New

    Ctrl+N

    or

     New (Ctrl+N)

I use Ghostwriter text editor for Markdown files editing, that support many widely used rendering styles

Here are variants (including current) for organize shortcuts in manual
Manual shotcuts

Just don't know is it supported by all

  • Github Flavoured Markdown
  • Github Pages
  • Doxygen Markdown
@ghost
Copy link
Author

ghost commented Nov 15, 2017

Here is my small "Markdown Shortcuts Cheat Sheet"
shortcuts.md

@dg0yt
Copy link
Member

dg0yt commented Nov 15, 2017

<kbd> doesn't not have a useful rendering in Qt Assistant.

kbd

Github's Markdown is of least relevance when it comes to documentation. We display the manual offline through facilities which are limited to a restricted subset of HTML 4.

@ghost
Copy link
Author

ghost commented Nov 15, 2017

At least, its much easier convert <kbd> to <cite> tag, supported by Qt Assistant for inline use

  • Shortcut: <kbd>Ctrl</kbd>+<kbd>B</kbd> -- use for manual repository and online manual website;
  • Shortcut: <cite>Ctrl</cite>+<cite>B</cite> -- use for packaged manual.

For the record

@ghost
Copy link
Author

ghost commented Nov 15, 2017

<kbd> doesn't not have a useful rendering in Qt Assistant.

It look like a bug of QtAssistant.

So, maybe, need to try fix default QtAssistant CSS for inbuilt <kbd>?

Try a look

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

1 participant