Comments (4)
Eh, maybe? Should be an optional thing though, maybe to be enabled with a query param.
from linkding.
Thanks for the reply, @sissbruecker, may be something like:
GET /api/bookmarks/<id>/html/
I will like to help you with this!
from linkding.
Hmm, adding a separate endpoint seems a bit convoluted. If more options like these are added then you would end up with a large number of routes, plus combinations of those. I was thinking more about a query param to control this: GET /api/bookmarks/<id>/?notes_html
. Also wondering if this should work for the list endpoint as well.
Apart from that the markdown rendering logic should be extracted into a class maybe, so that it can be used in both the template tag and in the API serializer.
from linkding.
With the list? Do you mean the tags?
GET /api/bookmarks/<id>/?notes_html
that retrieves the HTML format of the notes by a new class for the markdown formatter sounds good to me. I will start to work with the development setup.
from linkding.
Related Issues (20)
- Auto logout HOT 7
- Migrate to Ruff HOT 1
- description field to support basic text formatting HOT 12
- How can I use it offline? HOT 1
- Allow saving HTML snapshots of Cloudflare-Protected Websites HOT 1
- ability to configure the default profile used for anon users HOT 1
- Can you support markdown editing for quick bookmark editing? HOT 1
- Suggestion for tag sorting functionality HOT 2
- Optional markdown descriptions HOT 1
- [Feature Request] Bookmark Assets API HOT 1
- "... archiving websites as HTML snapshots"? HOT 2
- Excessive runtime memory footprint? HOT 1
- Add timezone option to UserProfile model
- High cpu utilisation - via python manage.py run huey -f HOT 1
- URL Validation should be optional HOT 2
- Would you like to get some of the features from my fork? HOT 3
- Disable Local Login After Enabling Authentik OIDC HOT 2
- New Feature: Custom Logo HOT 1
- Allow snapshotting of sites like reddit HOT 2
- [Feature Request] Display multiple columns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkding.