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

Clean up reference links #6

Open
GarrettS opened this issue Jun 14, 2024 · 1 comment
Open

Clean up reference links #6

GarrettS opened this issue Jun 14, 2024 · 1 comment

Comments

@GarrettS
Copy link
Owner

Summary:

Add functionality to link scientific references in the article to in-page reference sections for improved reader navigation.

The homepage reference links are not consistently formatted and do not follow standard scientific formatting.

When a scientific reference is mentioned, there should be [link to in page reference].

Proposed Fix:

  • Include a unique reference ID for each scientific reference in the HTML.
  • Link each reference in the text to its corresponding in-page reference using the reference ID.
  • Shorten link text to provide a concise description of the study or authors.
  • Clearly indicate the connection between the reference link and the target section using consistent formatting and visual cues.
<!-- In-page reference link -->
<p>
    In a recent study by <a href="#ref1" class="ref-link">Smith et al.</a>, the role of alpha-synuclein in Parkinson's disease was investigated.
</p>

<!-- Scientific reference -->
<li id="ref1">
    <a class="title" href="[URL]" target="_blank">[Author's Last Name or Paper Title]</a>
    <p>[Your summary of the relevant findings]</p>
</li>
@GarrettS
Copy link
Owner Author

GarrettS commented Jun 22, 2024

                <ol class="reference-list">
                    <li>
                        <a href="url"
                        title="title"
                        target="_blank"
                        >title</a>
                        <p>
                        Description/summary/conclusion
                        </p>
                    </li>
                </ol>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant