redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Added supporting any heading level from markdown

Open igor-morev opened this issue 4 years ago • 5 comments

@RomanHotsiy I have markdown documents. These have a lot of different level headings. Currently, Redoc supports only 1 and 2 level headings with anchor's links. I need more up to 6.

Testing

Screenshots (optional)

Check yourself

  • [ ] Code is linted
  • [ ] Tested
  • [ ] All new/updated code is covered with tests

igor-morev avatar Nov 24 '21 08:11 igor-morev

@RomanHotsiy take a look my solution, please

igor-morev avatar Nov 24 '21 08:11 igor-morev

Does it work? Can you share a screenshot?

RomanHotsiy avatar Nov 24 '21 13:11 RomanHotsiy

@RomanHotsiy yes image

igor-morev avatar Nov 25 '21 03:11 igor-morev

@RomanHotsiy what do you think ?

igor-morev avatar Nov 29 '21 05:11 igor-morev

Hi @Morev1993, sorry for the delay.

I checked it. I'm not sure if we want to merge it. You're the only user who reported it and it adds some complexity to our codebase.

I also don't like different font sizes in the sidebar on the screenshot you sent. Let us think a little bit and decide.

Thanks for contributing anyways 🙌

RomanHotsiy avatar Mar 22 '22 15:03 RomanHotsiy

Thanks again for the contribution. We decided that we aren't going to merge this pull request, so I'll close it (sorry for the slow response time, we really do appreciate you being part of the project!)

lornajane avatar Sep 18 '23 14:09 lornajane