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

In Announcements, a special article source needs to be added, coming from a remote csv file #24

Closed
WhiteMinds opened this issue Oct 25, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@WhiteMinds
Copy link
Contributor

WhiteMinds commented Oct 25, 2023

We need to consider how to implement this.
The current idea is to create a corresponding issue, the content of which contains a link to the csv file.
Then we implement the recognition of the csv link in the issue content and read it and convert it into a markdown table for use.

PRD: https://lb84z6.axshare.com/#g=1&p=help_center

CSV link: https://github.com/nervosnetwork/neuron/blob/develop/compatible.csv

Refs: Magickbase/neuron-public-issues#99

@WhiteMinds WhiteMinds added the enhancement New feature or request label Oct 25, 2023
@WhiteMinds WhiteMinds self-assigned this Oct 25, 2023
@WhiteMinds
Copy link
Contributor Author

WhiteMinds commented Oct 26, 2023

The current solution is to implement a <!-- PARSE_CSV_TO_MARKDOWN: {url} --> syntax. When this syntax is detected during parsing, it will automatically read the corresponding CSV file and convert it to a markdown table.

This solution is implemented in e9973df.

Example:

First line

Some texts 1

Some texts 2

<!-- PARSE_CSV_TO_MARKDOWN: https://raw.githubusercontent.com/nervosnetwork/neuron/develop/compatible.csv -->

Some texts 3

End line

@Danie0918
Copy link
Collaborator

download

Requirements:Add compatibility table to download page

  1. Data source: https://github.com/nervosnetwork/neuron/blob/develop/compatible.csv
  2. Neuron versions are sorted from top to bottom, newest to oldest.
  3. CKB full node and light client node, according to the width of the page adaptive display , beyond the part need to drag the scroll bar, the part of the blank display.
  4. CKB Full and light client nodes are sorted from left to right,newest to oldest.

@WhiteMinds
Copy link
Contributor Author

PR: #27

@WhiteMinds
Copy link
Contributor Author

Has deployed to the production environment.

https://neuron.magickbase.com/download

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

No branches or pull requests

2 participants