hackmdio / hackmd-io-issues

Reporting issues about HackMD Enterprise Edition and HackMD.io
36 stars 8 forks source link

Downloaded HTML has no document menu #187

Closed banderlog closed 3 years ago

banderlog commented 4 years ago

Is this a hackmd.io issue?

What's the problem

Downloaded HTML has no menu

Current behaviour

HackMD: image

Downloaded HTML: image

Provide steps to reproduce:

  1. Menu
  2. Download HTML
  3. Open HTML

If possible, create a note with reproducible content and share the link with us.

e.g. note link: https://hackmd.io/wbwSvxp_T5yEO9wLqzq01g

Expected behaviour

Maintain document menu

Environment

I use HackMD on:

Desktop

jackycute commented 4 years ago

Hi @banderlog,

This is expected behavior, we want to make the downloaded HTML clean as can be viewed everywhere. What's the feature you're looking for in the downloaded HTML?

banderlog commented 4 years ago

Actually, I need a single file document with navigation which could be viewed everywhere. It sounds like PDF, but, alas, hackmd does not have this feature yet (except slide decks).

Using this https://addons.mozilla.org/en-US/firefox/addon/single-file/ and display: none !important for few elements I was able to get what I want

jackycute commented 3 years ago

OK, thanks for your sharing @banderlog