Improve the comment watermark format
See original GitHub issueWatermarks are invisible strings inserted on CML comments[^1] so they can be differentiated from comments created by users. Our current watermark format is all but uniquely identifiable, and should probably be updated.
https://github.com/iterative/cml/blob/7bd925718ca2f1abb8d484fdd551a38683eb5cd3/src/cml.js#L181
Note that watermarks use a blank image instead of an HTML comment, because not all forges support the latter in their respective flavours of Markdown.
Proposal
Use the image description to store arbitrary data encoded as Base64 (e.g. useful for live metrics) and the image link to point to an invisible, tiny image in a static host of our choice.
![eyJrZXkiOiAidmFsdWUifQ==](https://cml.dev/9b0e332381649d87112c181dae1568640ea055b3100e5253d86410d276db8af9/pixel.gif)
Precursors
[^1]: E.g. created by running cml send-comment
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Insert a watermark - Microsoft Support
On the Design tab, select Watermark. · Choose a pre-configured watermark, like DRAFT, CONFIDENTIAL, or DO NOT COPY. · For placing a logo...
Read more >How to Insert and Modify Image Watermarks in Microsoft Word
Learn how to insert, modify, and delete image watermarks in Microsoft Word. Image watermarks can be logos, pictures, or graphics used for ...
Read more >How to edit watermark in Word - YouTube
Whenever we need to edit an existing watermark, such as change the text color or make the font size bigger, our first impulse...
Read more >Add watermarks to PDFs in Adobe Acrobat
To use an image as a watermark, select File. Then click Browse and select the image file. If the file has multiple pages...
Read more >How to Make Sharp Watermarks in Lightroom - Photography Life
You can use “Text” and simply type the character that holds your watermark. Since fonts are vector-based, increasing or decreasing font size ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can also use Unicode zero-width watermarks: 🤔
raw.githubusercontent.com/iterative/cml/master/assets
->static.iterative.ai/cml
static.iterative.ai
) is open sourced athttps://github.com/iterative/static
to prove no nefarious activityurllib.parse.quote
is enough?