(create-mock-image-data blog-post-title image-url alt-text)Creates mock image data for a blog post. This function is useful for testing and development.
Args: blog-post-title: The title of the blog post. image-url: The URL of the image. alt-text: Alternative text for the image.
Returns: A map containing mock image data.
Creates mock image data for a blog post. This function is useful for testing and development. Args: blog-post-title: The title of the blog post. image-url: The URL of the image. alt-text: Alternative text for the image. Returns: A map containing mock image data.
(extract-blog-post-title slug)Extracts a potential blog post title from a slug. This is a naive implementation and may not be perfect, but serves as a utility.
Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")
Returns: A string representing the potential title of the blog post, capitalized.
Extracts a potential blog post title from a slug. This is a naive implementation and may not be perfect, but serves as a utility. Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple") Returns: A string representing the potential title of the blog post, capitalized.
(generate-blog-post-url slug)Generates a URL for a blog post on supermaker.ai given a slug.
Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple")
Returns: A string representing the full URL of the blog post.
Generates a URL for a blog post on supermaker.ai given a slug. Args: slug: The URL-friendly slug of the blog post (e.g., "-grok-image-generator-model-on-supermaker-ai-twitterready-images-made-simple") Returns: A string representing the full URL of the blog post.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |