File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed
Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6+ < title > ValueMapper</ title >
7+ < style >
8+ body { font-family : sans-serif; max-width : 800px ; margin : 2rem auto; padding : 1rem ; line-height : 1.6 ; }
9+ header { display : flex; justify-content : space-between; align-items : center; }
10+ button {
11+ background-color : # 24292e ;
12+ color : white;
13+ border : none;
14+ padding : 0.5rem 1rem ;
15+ cursor : pointer;
16+ border-radius : 4px ;
17+ }
18+ pre {
19+ background : # f4f4f4 ;
20+ padding : 0.5rem ;
21+ overflow-x : auto;
22+ }
23+ code { background : # f4f4f4 ; }
24+ </ style >
25+ </ head >
26+ < body >
27+ < header >
28+ < h1 > ValueMapper</ h1 >
29+ < a href ="https://github.com/TechFusionMasters/ValueMapper " target ="_blank ">
30+ < button > View on GitHub</ button >
31+ </ a >
32+ </ header >
33+
34+ < div id ="readme-content "> Loading README...</ div >
35+
36+ < script >
37+ async function loadReadme ( ) {
38+ const res = await fetch ( 'https://raw.githubusercontent.com/TechFusionMasters/ValueMapper/main/README.md' ) ;
39+ const markdown = await res . text ( ) ;
40+
41+ // Convert markdown to HTML using GitHub API or a small markdown parser
42+ const html = marked . parse ( markdown ) ;
43+ document . getElementById ( 'readme-content' ) . innerHTML = html ;
44+ }
45+
46+ // Add marked.js CDN
47+ const script = document . createElement ( 'script' ) ;
48+ script . src = 'https://cdn.jsdelivr.net/npm/marked/marked.min.js' ;
49+ script . onload = loadReadme ;
50+ document . body . appendChild ( script ) ;
51+ </ script >
52+ </ body >
53+ </ html >
You can’t perform that action at this time.
0 commit comments