Skip to main content

Hi,

We are pushing activities on Strava and we’d like to add line break and markdown into the description. We are using php code. With this example:

$description = “I’ve done a test with **xxx**:\n";

$description .= '**SV1**=150 W';

The line break won’t appear in the activity description (nor the bold characters). 

 

Does anyone has a solution for that ? 

Thanks,

Pierre

 

 

Please make sure that \n is replaced by CarriageReturn+Linefeed (characters 13 and 10) when sending the description to Strava.

The description that is shown in Strava is a plain text field, you have to use other methods like emoji characters for emphasizing.


Reply