massgov / feature-requests

Prioritization for feature requests for the Mass.gov project.
10 stars 8 forks source link

The ability to indicate what type of document is being linked to. #228

Open callahant opened 2 years ago

callahant commented 2 years ago

When linking to a PDF, Word document, Excel spreadsheet, etc, can we have the ability to indicate what type of document the user is being redirected to? I know this exists in "Additional Resources" at the bottom of pages, but can it be done within the body copy?

An example of us manually adding the document type can be found here https://edit.mass.gov/info-details/municipal-accounting-and-auditing-training-and-resources#accounting-concepts-

lacedog commented 1 year ago

We do this by adding type and filesize after any link to a doc: Such as (PDF, 1 MB) (WORD, 566KB)