Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Asset Referencing in Markdown Files Upon Upload #10

Open
greiner-marcus-auticon opened this issue May 30, 2024 · 0 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@greiner-marcus-auticon
Copy link
Owner

Description:

When uploading a markdown file that includes pictures or other assets, the assets are initially placed in a root folder (e.g., Public), while the markdown file itself is placed in a subfolder (e.g., Public/mymarkdown/mymarkdown.md). This causes issues with referencing the assets correctly from the markdown file.

Steps to Reproduce:

  1. Upload a markdown file (mymarkdown.md) that includes pictures or other assets.
  2. Observe that the assets are placed in the Public folder.
  3. Notice that the markdown file is placed in the Public/mymarkdown/ folder.
  4. Attempt to reference the assets from the markdown file.

Expected Behavior:
The markdown file should be able to reference the assets correctly even if they are placed in a different folder (e.g., Public/assets).

Actual Behavior:
The markdown file cannot correctly reference the assets because they are placed in different directories.

Proposed Solution:
Implement a mechanism that allows markdown files to correctly reference assets regardless of their placement. One possible approach is to configure the upload process to place assets in a designated folder (e.g., Public/assets) and update the markdown references accordingly.

Example:

  • Markdown file location: Public/mymarkdown/mymarkdown.md
  • Asset location: Public/assets
  • Markdown reference should be updated to: ![image](../assets/image.png)

Additional Context:
This issue affects the organization and accessibility of markdown files and their associated assets. Ensuring correct referencing will improve file management and user experience.

Environment:

  • Version: [Specify the version of the application]
  • OS: [Specify the operating system]
  • Browser: [Specify the browser, if applicable]

Screenshots:
If applicable, add screenshots to help explain your problem.

Labels:

  • Bug
  • Documentation

Assignees:

Priority:
Medium

@greiner-marcus-auticon greiner-marcus-auticon added bug Something isn't working documentation Improvements or additions to documentation labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant