Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Markdown version of ad templates for sites that don't support HTML

+0
−0

I recently changed my username on a site where I used to post coding challenges years ago, to make it clearer that I no longer post there (as I still occasionally receive comments that I may not see for a long time).

While I was making a change, I thought I'd try adding one of the Codidact ad templates to see if it worked. It didn't seem to accept the HTML version, so I manually changed it to markdown, at which point it worked perfectly (a little larger than expected, but I'm fine with that).

A Codidact ad on my profile on another site

This made me wonder if it would be worth adding a third template type to the Codidact Advertisements page, after "Image link" and "Image HTML". It could be called something like "Image markdown", and would make adding ads to sites that only accept markdown quicker and easier.

I used the following format:

[![Question on Codidact](https://codegolf.codidact.com/ca/posts/X.png)](https://codegolf.codidact.com/posts/X "View this question on Codidact" )

This displays the image for the specific question, and is a link to that question when clicked.

Probably best to add a note that the X needs to be replaced with the post ID in 2 places, and that the alt text (in square brackets immediately after the exclamation mark) and title text (in double quotes near the end) can be changed to match the post being linked to.

Rather than using (choose an alt text) I've used a generic alt text that should be better than nothing if someone forgets to override it (and the same for the title text). Would it be worth making a similar change for the existing templates too or is there a reason to prefer (choose an alt text)?

Would it also be useful to make the existing templates links to the relevant place too? Currently they just display an image which doesn't link to anywhere, which it would be easy to mistake for a working ad if not checked after pasting.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »