Skip to content

Commit

Permalink
added 1.pdf2table.md & script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcc-us committed Sep 15, 2024
1 parent 628f0fd commit 5debe50
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 0 deletions.
94 changes: 94 additions & 0 deletions _pages/1.pdf2table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
|Document No.|Title|
|---|---|
|1|<a href="f1040es.pdf" download> 2024 Form 1040-ES</a>|
|2|<a href="f1040s1.pdf" download> 2023 Schedule 1 (Form 1040)</a>|
|3|<a href="f1040s2.pdf" download> 2023 Schedule 2 (Form 1040)</a>|
|4|<a href="f1040s3.pdf" download> 2023 Schedule 3 (Form 1040)</a>|
|5|<a href="f1040s.pdf" download> 2023 Form 1040-SR</a>|
|6|<a href="f1040x.pdf" download> Form 1040-X (Rev. February 2024)</a>|
|7|<a href="f1041.pdf" download> 2023 Form 1041 </a>|
|8|<a href="f1065.pdf" download> 2023 Form 1065 </a>|
|9|<a href="f1099c.pdf" download> Form 1099-C (Rev. January 2022)</a>|
|10|<a href="f1099r.pdf" download> 2024 Form 1099-R</a>|
|11|<a href="f1116.pdf" download> 2023 Form 1116</a>|
|12|<a href="f1120.pdf" download> 2023 Form 1120</a>|
|13|<a href="f1127.pdf" download> Form 1127 (Rev. December 2020)</a>|
|14|<a href="f12153.pdf" download> Form 12153 (Rev. 7-2022)</a>|
|15|<a href="f13614c.pdf" download> Form 13614-C (Rev. 10-2023)</a>|
|16|<a href="f14039.pdf" download> Form 14039 (Rev. 5-2024)</a>|
|17|<a href="f2555.pdf" download> 2023 Form 2555</a>|
|18|<a href="f2587.pdf" download> Form 2587 (Rev. 3-2024) </a>|
|19|<a href="f2848.pdf" download> Form 2848 (Rev. January 2021)</a>|
|20|<a href="f3520.pdf" download> Form 3520 (Rev. December 2023)</a>|
|21|<a href="f4506.pdf" download> Form 4506 (Rev. 1-2024)</a>|
|22|<a href="f4506t.pdf" download> Form 4506-T (Rev. 6-2023)</a>|
|23|<a href="f4868-auto-extension.pdf" download> 2023 Form 4868</a>|
|24|<a href="f5471.pdf" download> Form 5471 (Rev. December 2023)</a>|
|25|<a href="f706.pdf" download> Form 706 (Rev. August 2019)</a>|
|26|<a href="f843.pdf" download> Form 843 (Rev. August 2011)</a>|
|27|<a href="f8453.pdf" download> 2023 Form 8453</a>|
|28|<a href="f8606.pdf" download> 2023 Form 8606</a>|
|29|<a href="f8814.pdf" download> 2023 Form 8814</a>|
|30|<a href="f8821.pdf" download> Form 8821 (Rev. January 2021)</a>|
|31|<a href="f8879.pdf" download> Form 8879 (Rev. January 2021)</a>|
|32|<a href="f8938.pdf" download> Form 8938 (Rev. November 2021)</a>|
|33|<a href="f8958.pdf" download> Form 8958 (Rev. November 2023)</a>|
|34|<a href="f941.pdf" download> Form 941 (Rev. March 2024)</a>|
|35|<a href="f9465.pdf" download> Form 9465 (Rev. September 2020)</a>|
|36|<a href="filing_status_4012.pdf" download> Publication 4012 (Rev. 10/2021)</a>|
|37|<a href="fss4.pdf" download> Form SS-4 (Rev. December 2023)</a>|
|38|<a href="fw2.pdf" download> 2024 Form W-2</a>|
|39|<a href="fw4.pdf" download> 2024 Form W-4</a>|
|40|<a href="fw7.pdf" download> Form W-7 (Rev. August 2019)</a>|
|41|<a href="fw7sp.pdf" download> Form W-7 (SP) (Rev. September 2019)</a>|
|42|<a href="fw9.pdf" download> Form W-9 (Rev. March 2024)</a>|
|43|<a href="i1040gi.pdf" download> 2023 Instruction 1040</a>|
|44|<a href="i1040tt.pdf" download> 2023 Instruction 1040 TAX AND EARNED INCOME CREDIT TABLES</a>|
|45|<a href="i1040x.pdf" download> Instructions for Form 1040-X (Rev. February 2024)</a>|
|46|<a href="i1041.pdf" download> 2023 Instructions for Form 1041 and Schedules A, B, G, J, and K-1 </a>|
|47|<a href="i1065.pdf" download> 2023 Instructions for Form 1065 </a>|
|48|<a href="i1099ac.pdf" download> Instructions for Forms 1099-A and 1099-C (Rev. January 2022)</a>|
|49|<a href="i1116.pdf" download> 2023 Instructions for Form 1116</a>|
|50|<a href="i1120.pdf" download> 2023 Instructions for Form 1120</a>|
|51|<a href="i2555.pdf" download> 2023 Instructions for Form 2555</a>|
|52|<a href="i2848.pdf" download> Instructions for Form 2848 (Rev. September 2021)</a>|
|53|<a href="i3520.pdf" download> Instructions for Form 3520 (Rev. December 2023)</a>|
|54|<a href="i5471.pdf" download> Instructions for Form 5471 (Rev. January 2024)</a>|
|55|<a href="i706.pdf" download> Instructions for Form 706 (Rev. September 2023)</a>|
|56|<a href="i709.pdf" download> 2023 Instructions for Form 709</a>|
|57|<a href="i843.pdf" download> Instructions for Form 843 (Rev. December 2021)</a>|
|58|<a href="i8606.pdf" download> 2023 Instructions for Form 8606</a>|
|59|<a href="i8814.pdf" download> 2023 Instructions for Form 8814</a>|
|60|<a href="i8821.pdf" download> Instructions for Form 8821 (Rev. September 2021)</a>|
|61|<a href="i8865.pdf" download> 2023 Instructions for Form 8865</a>|
|62|<a href="i8936.pdf" download> 2023 Instructions for Form 8936</a>|
|63|<a href="i8938.pdf" download> Instructions for Form 8938 (Rev. November 2021)</a>|
|64|<a href="i941.pdf" download> Instructions for Form 941 (Rev. March 2024)</a>|
|65|<a href="i9465.pdf" download> Instructions for Form 9465 (Rev. July 2024)</a>|
|66|<a href="iss4.pdf" download> Instructions for Form SS-4 (Rev. December 2023)</a>|
|67|<a href="iw2w3.pdf" download> 2024 General Instructions for Forms W-2 and W-3</a>|
|68|<a href="iw7.pdf" download> Instructions for Form W-7 (Rev. November 2023)</a>|
|69|<a href="iw7sp.pdf" download> Instrucciones para el Formulario W-7 (Rev. Noviembre 2023)</a>|
|70|<a href="iw9.pdf" download> Instructions for the Requester of Form W-9 (Rev. March 2024)</a>|
|71|<a href="p1660.pdf" download> Publication 1660 (Rev. 1-2020)</a>|
|72|<a href="p17.pdf" download> 2023 Publication 17</a>|
|73|<a href="p216.pdf" download> Publication 216 (3-1992)</a>|
|74|<a href="p334.pdf" download> 2023 Publication 334</a>|
|75|<a href="p3.pdf" download> 2023 Publication 3</a>|
|76|<a href="p4012.pdf" download> Publication 4012 (Rev. 10-2023)</a>|
|77|<a href="p4245.pdf" download> Publication 4245 (Rev. 2-2022)</a>|
|78|<a href="p4491.pdf" download> Publication 4491 (Rev. 10-2023)</a>|
|79|<a href="p4491x.pdf" download> Publication 4491-X (Rev. 2-2024)</a>|
|80|<a href="p463.pdf" download> 2023 Publication 463</a>|
|81|<a href="p505.pdf" download> 2024 Publication 505</a>|
|82|<a href="p519.pdf" download> 2023 Publication 519</a>|
|83|<a href="p525.pdf" download> 2023 Publication 525</a>|
|84|<a href="p5477-IPPIN.pdf" download> Publication 5477 (Rev. 7-2022) </a>|
|85|<a href="p54.pdf" download> 2023 Publication 54</a>|
|86|<a href="p555.pdf" download> Publication 555 (Rev. March 2020)</a>|
|87|<a href="p556.pdf" download> Publication 556 (Rev. September 2013)</a>|
|88|<a href="p559.pdf" download> 2023 Publication 559</a>|
|89|<a href="p590b.pdf" download> 2023 Publication 590-B</a>|
|90|<a href="p594.pdf" download> Publication 594 (Rev. 5-2024)</a>|
|91|<a href="p926.pdf" download> 2024 Publication 926</a>|
|92|<a href="p970.pdf" download> 2023 Publication 970</a>|
31 changes: 31 additions & 0 deletions assets/pdfs/1.extract.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Create the markdown file
touch 1.pdf2table.md

# Append table header
echo "|Document No.|Title|" >> 1.pdf2table.md
echo "|---|---|" >> 1.pdf2table.md

# Loop through all PDF files
i=0
for filename in *.pdf; do
# Extract filename and title
name="${filename%.*}"
title=$(pdfinfo "$filename" | grep Title: | cut -d: -f2- | tr -d '\n\r')

# Create table row
row="|"
row+="$((i + 1))" # Document number (starting from 1)
row+="|<a href=\"$filename\" download>" # Link with download attribute
row+="$title</a>|"

# Append row to the table
echo "$row" >> 1.pdf2table.md

# Increment counter
i=$((i + 1))
done

# Print completion message
echo "DONE"
94 changes: 94 additions & 0 deletions assets/pdfs/1.pdf2table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
|Document No.|Title|
|---|---|
|1|<a href="f1040es.pdf" download> 2024 Form 1040-ES</a>|
|2|<a href="f1040s1.pdf" download> 2023 Schedule 1 (Form 1040)</a>|
|3|<a href="f1040s2.pdf" download> 2023 Schedule 2 (Form 1040)</a>|
|4|<a href="f1040s3.pdf" download> 2023 Schedule 3 (Form 1040)</a>|
|5|<a href="f1040s.pdf" download> 2023 Form 1040-SR</a>|
|6|<a href="f1040x.pdf" download> Form 1040-X (Rev. February 2024)</a>|
|7|<a href="f1041.pdf" download> 2023 Form 1041 </a>|
|8|<a href="f1065.pdf" download> 2023 Form 1065 </a>|
|9|<a href="f1099c.pdf" download> Form 1099-C (Rev. January 2022)</a>|
|10|<a href="f1099r.pdf" download> 2024 Form 1099-R</a>|
|11|<a href="f1116.pdf" download> 2023 Form 1116</a>|
|12|<a href="f1120.pdf" download> 2023 Form 1120</a>|
|13|<a href="f1127.pdf" download> Form 1127 (Rev. December 2020)</a>|
|14|<a href="f12153.pdf" download> Form 12153 (Rev. 7-2022)</a>|
|15|<a href="f13614c.pdf" download> Form 13614-C (Rev. 10-2023)</a>|
|16|<a href="f14039.pdf" download> Form 14039 (Rev. 5-2024)</a>|
|17|<a href="f2555.pdf" download> 2023 Form 2555</a>|
|18|<a href="f2587.pdf" download> Form 2587 (Rev. 3-2024) </a>|
|19|<a href="f2848.pdf" download> Form 2848 (Rev. January 2021)</a>|
|20|<a href="f3520.pdf" download> Form 3520 (Rev. December 2023)</a>|
|21|<a href="f4506.pdf" download> Form 4506 (Rev. 1-2024)</a>|
|22|<a href="f4506t.pdf" download> Form 4506-T (Rev. 6-2023)</a>|
|23|<a href="f4868-auto-extension.pdf" download> 2023 Form 4868</a>|
|24|<a href="f5471.pdf" download> Form 5471 (Rev. December 2023)</a>|
|25|<a href="f706.pdf" download> Form 706 (Rev. August 2019)</a>|
|26|<a href="f843.pdf" download> Form 843 (Rev. August 2011)</a>|
|27|<a href="f8453.pdf" download> 2023 Form 8453</a>|
|28|<a href="f8606.pdf" download> 2023 Form 8606</a>|
|29|<a href="f8814.pdf" download> 2023 Form 8814</a>|
|30|<a href="f8821.pdf" download> Form 8821 (Rev. January 2021)</a>|
|31|<a href="f8879.pdf" download> Form 8879 (Rev. January 2021)</a>|
|32|<a href="f8938.pdf" download> Form 8938 (Rev. November 2021)</a>|
|33|<a href="f8958.pdf" download> Form 8958 (Rev. November 2023)</a>|
|34|<a href="f941.pdf" download> Form 941 (Rev. March 2024)</a>|
|35|<a href="f9465.pdf" download> Form 9465 (Rev. September 2020)</a>|
|36|<a href="filing_status_4012.pdf" download> Publication 4012 (Rev. 10/2021)</a>|
|37|<a href="fss4.pdf" download> Form SS-4 (Rev. December 2023)</a>|
|38|<a href="fw2.pdf" download> 2024 Form W-2</a>|
|39|<a href="fw4.pdf" download> 2024 Form W-4</a>|
|40|<a href="fw7.pdf" download> Form W-7 (Rev. August 2019)</a>|
|41|<a href="fw7sp.pdf" download> Form W-7 (SP) (Rev. September 2019)</a>|
|42|<a href="fw9.pdf" download> Form W-9 (Rev. March 2024)</a>|
|43|<a href="i1040gi.pdf" download> 2023 Instruction 1040</a>|
|44|<a href="i1040tt.pdf" download> 2023 Instruction 1040 TAX AND EARNED INCOME CREDIT TABLES</a>|
|45|<a href="i1040x.pdf" download> Instructions for Form 1040-X (Rev. February 2024)</a>|
|46|<a href="i1041.pdf" download> 2023 Instructions for Form 1041 and Schedules A, B, G, J, and K-1 </a>|
|47|<a href="i1065.pdf" download> 2023 Instructions for Form 1065 </a>|
|48|<a href="i1099ac.pdf" download> Instructions for Forms 1099-A and 1099-C (Rev. January 2022)</a>|
|49|<a href="i1116.pdf" download> 2023 Instructions for Form 1116</a>|
|50|<a href="i1120.pdf" download> 2023 Instructions for Form 1120</a>|
|51|<a href="i2555.pdf" download> 2023 Instructions for Form 2555</a>|
|52|<a href="i2848.pdf" download> Instructions for Form 2848 (Rev. September 2021)</a>|
|53|<a href="i3520.pdf" download> Instructions for Form 3520 (Rev. December 2023)</a>|
|54|<a href="i5471.pdf" download> Instructions for Form 5471 (Rev. January 2024)</a>|
|55|<a href="i706.pdf" download> Instructions for Form 706 (Rev. September 2023)</a>|
|56|<a href="i709.pdf" download> 2023 Instructions for Form 709</a>|
|57|<a href="i843.pdf" download> Instructions for Form 843 (Rev. December 2021)</a>|
|58|<a href="i8606.pdf" download> 2023 Instructions for Form 8606</a>|
|59|<a href="i8814.pdf" download> 2023 Instructions for Form 8814</a>|
|60|<a href="i8821.pdf" download> Instructions for Form 8821 (Rev. September 2021)</a>|
|61|<a href="i8865.pdf" download> 2023 Instructions for Form 8865</a>|
|62|<a href="i8936.pdf" download> 2023 Instructions for Form 8936</a>|
|63|<a href="i8938.pdf" download> Instructions for Form 8938 (Rev. November 2021)</a>|
|64|<a href="i941.pdf" download> Instructions for Form 941 (Rev. March 2024)</a>|
|65|<a href="i9465.pdf" download> Instructions for Form 9465 (Rev. July 2024)</a>|
|66|<a href="iss4.pdf" download> Instructions for Form SS-4 (Rev. December 2023)</a>|
|67|<a href="iw2w3.pdf" download> 2024 General Instructions for Forms W-2 and W-3</a>|
|68|<a href="iw7.pdf" download> Instructions for Form W-7 (Rev. November 2023)</a>|
|69|<a href="iw7sp.pdf" download> Instrucciones para el Formulario W-7 (Rev. Noviembre 2023)</a>|
|70|<a href="iw9.pdf" download> Instructions for the Requester of Form W-9 (Rev. March 2024)</a>|
|71|<a href="p1660.pdf" download> Publication 1660 (Rev. 1-2020)</a>|
|72|<a href="p17.pdf" download> 2023 Publication 17</a>|
|73|<a href="p216.pdf" download> Publication 216 (3-1992)</a>|
|74|<a href="p334.pdf" download> 2023 Publication 334</a>|
|75|<a href="p3.pdf" download> 2023 Publication 3</a>|
|76|<a href="p4012.pdf" download> Publication 4012 (Rev. 10-2023)</a>|
|77|<a href="p4245.pdf" download> Publication 4245 (Rev. 2-2022)</a>|
|78|<a href="p4491.pdf" download> Publication 4491 (Rev. 10-2023)</a>|
|79|<a href="p4491x.pdf" download> Publication 4491-X (Rev. 2-2024)</a>|
|80|<a href="p463.pdf" download> 2023 Publication 463</a>|
|81|<a href="p505.pdf" download> 2024 Publication 505</a>|
|82|<a href="p519.pdf" download> 2023 Publication 519</a>|
|83|<a href="p525.pdf" download> 2023 Publication 525</a>|
|84|<a href="p5477-IPPIN.pdf" download> Publication 5477 (Rev. 7-2022) </a>|
|85|<a href="p54.pdf" download> 2023 Publication 54</a>|
|86|<a href="p555.pdf" download> Publication 555 (Rev. March 2020)</a>|
|87|<a href="p556.pdf" download> Publication 556 (Rev. September 2013)</a>|
|88|<a href="p559.pdf" download> 2023 Publication 559</a>|
|89|<a href="p590b.pdf" download> 2023 Publication 590-B</a>|
|90|<a href="p594.pdf" download> Publication 594 (Rev. 5-2024)</a>|
|91|<a href="p926.pdf" download> 2024 Publication 926</a>|
|92|<a href="p970.pdf" download> 2023 Publication 970</a>|

0 comments on commit 5debe50

Please sign in to comment.