Description: Similar to GitHub's profile READMEs, allow users to create a custom README for their OSSfolio profile using Markdown. This gives them a canvas to introduce themselves in more detail, embed images, or link to content, offering more personality than the current bio and headline fields.
Proposed Enhancement:
Add a new readme (text type) column to the profiles table. Update the strictify_profiles_privileges migration to grant users update permission on this new column.
In the user's settings page, add a Markdown editor (e.g., using react-markdown or easymde-react).
When the user saves, the Markdown content is stored in the new readme column.
The profile page would fetch this content and render it using a Markdown parser, ensuring the output is sanitized to prevent XSS attacks.
Description: Similar to GitHub's profile READMEs, allow users to create a custom README for their OSSfolio profile using Markdown. This gives them a canvas to introduce themselves in more detail, embed images, or link to content, offering more personality than the current bio and headline fields.
Proposed Enhancement:
Add a new readme (text type) column to the profiles table. Update the strictify_profiles_privileges migration to grant users update permission on this new column.
In the user's settings page, add a Markdown editor (e.g., using react-markdown or easymde-react).
When the user saves, the Markdown content is stored in the new readme column.
The profile page would fetch this content and render it using a Markdown parser, ensuring the output is sanitized to prevent XSS attacks.