mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 15:10:51 +00:00
c410a58573
* Added emoji-mart as emoji-picker * Fixed JSON to TypeScript-object parsing * added fork awesome to emoji-picker added ForkAwesomeIcons enum, because it's not possible to iterate over a typescript type consisting of strings [1]. This is a bit unfortunate since we now have two lists of all the fork awesome icons, but sadly it can not be done another way. added fork awesome as a custom category to the emoji picker. [1]: https://stackoverflow.com/questions/40863488/how-to-iterate-over-a-custom-literal-type-in-typescript * made picker close, when clicking away added react-use dependency for useClickAway hook * Fixed emoji-picker loading images from unpkg instead of using font * fixed addEmoji function added tests * Extract customIcons into useMemo Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Erik Michelson <github@erik.michelson.eu> Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
3 KiB
3 KiB
Changelog
[Unreleased]
Deprecations
- This version of CodiMD is the last version that supports the following short-code syntaxes for embedding content. Embedding works now instead by putting the plain webpage link to the content into a single line.
{%youtube someid %}
-> https://youtube.com/watch?v=someid{%vimeo 123456789 %}
-> https://vimeo.com/123456789{%gist user/12345 %}
-> https://gist.github.com/user/12345{%slideshare user/my-awesome-presentation %}
-> Embedding removed{%speakerdeck foobar %}
-> Embedding removed
Removed
- SlideShare embedding
- If a legacy embedding code is detected it will show the link to the presentation instead of the embedded presentation
- Speakerdeck embedding
- If a legacy embedding code is detected it will show the link to the presentation instead of the embedded presentation
- We are now using
highlight.js
instead ofhighlight.js
+prism.js
for code highlighting. Check out the highlight.js demo page to see which languages are supported. The highlighting for following languages isn't supported byhighlight.js
:- tiddlywiki
- mediawiki
- jsx
- Alternative anchor URL formats
Added
- A new table view for the history (besides the card view)
- Better support for RTL-languages (and LTR-content in a RTL-page)
- Users may now change their display name and password (only email accounts) on the new profile page
- Highlighted code blocks can now use line wrapping and line numbers at once
- Images, videos, and other non-text content is now wider in View Mode
- Notes may now be deleted directly from the history page
- CodiMD instances can now be branded either with a '@ ' or '@ ' after the CodiMD logo and text
- Images will be loaded via proxy if an image proxy is configured in the backend
- Asciinema videos may now be embedded by pasting the URL of one video into a single line
- The Toolbar includes an EmojiPicker
Changed
- The sign-in/sign-up functions are now on a separate page
- The email sign-in/registration does not require an email address anymore but uses a username
- The history shows both the entries saved in LocalStorage and the entries saved on the server together
- The gist and pdf embeddings now use a one-click aproach similar to vimeo and youtube
- Use Twemoji as icon font
- The
[name=...]
,[time=...]
and[color=...]
tags may now be used anywhere in the document and not just inside of blockquotes and lists. - The (add image) and (add link) toolbar buttons, put selected links directly in the
()
instead of the[]
part of the generated markdown
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.