add anchor link
azizramdan opened this issue · comments
Aziz Ramdan Kurniawan commented
Can you add anchor link to graph? so when graph clicked it will open https://wakatime.com/@username
Yozachar commented
Hi @azizramdan thank you for taking interest in the repository.
Is this something you're expecting?
Week: 25 September, 2020 - 02 October, 2020 C 4 hrs 48 mins ████████░░░░░░░░░░░░░░░░░ 32.20 % Other 3 hrs 29 mins ██████░░░░░░░░░░░░░░░░░░░ 23.34 % Python 3 hrs 24 mins █████▓░░░░░░░░░░░░░░░░░░░ 22.79 % C++ 1 hr 37 mins ██▓░░░░░░░░░░░░░░░░░░░░░░ 10.91 % Text 1 hr 18 mins ██▒░░░░░░░░░░░░░░░░░░░░░░ 08.78 %
Aziz Ramdan Kurniawan commented
@joe733 yes like that
Yozachar commented
Few things...
- This was done using HTML
<a href=''><pre></pre></a>
tags because multi-line markdown code```
syntax does not support links. - The user of WakaTime me need to have a
username
. Ironically I created one, just after I saw this issue. - Alternative to this will be to have links on the headline itself. Gives flexibility to the user and reduces code complexity.
I think the 3rd point is compelling, what do you think about having links in the headline?
📊 My weekly development breakdown
Aziz Ramdan Kurniawan commented
1st point is worked but I don't like link's style, so I use 3rd point. Thanks