Skip to content

Commit 3db72d1

Browse files
committed
Added sample json for n-line-html-text snippet
1 parent 63f08bc commit 3db72d1

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

power-apps/n-line-html-text/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Jan Chlebek | [LinkedIn](https://www.linkedin.com/in/jan-chlebek/) - [GitHub](ht
4242

4343
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
4444

45-
<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/n-line-html-textX" aria-hidden="true" />
45+
<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/n-line-html-text" aria-hidden="true" />
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[
2+
{
3+
"$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json",
4+
"name": "pnp-powerplatform-snippets-n-line-html-text",
5+
"version": "1.0.0.0",
6+
"source": "pnp",
7+
"creationDateTime": "2025-05-15T00:00:00.000Z",
8+
"updateDateTime": "2025-05-15T00:00:00.000Z",
9+
"title": "N-Line HTML Text Truncation",
10+
"shortDescription": "This code snippet provides a solution to dynamically truncate HTML text in a Power Apps Canvas app based on the desired number of lines (n).",
11+
"longDescription": [
12+
"This code snippet provides a solution to dynamically truncate HTML text in a Power Apps Canvas app based on the desired number of lines (n). It maintains the integrity of the HTML structure, ensuring that truncated content doesn’t cause formatting issues."
13+
],
14+
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/power-apps/n-line-html-text/",
15+
"products": [
16+
"Power Platform",
17+
"Power Apps",
18+
"powerplatform-snippets",
19+
"power-apps-snippets"
20+
],
21+
"tags": [
22+
],
23+
"categories": [
24+
],
25+
"thumbnails": [
26+
{
27+
"type": "image",
28+
"order": 100,
29+
"url": "https://raw.githubusercontent.com/pnp/powerplatform-snippets/main/power-apps/n-line-html-text/assets/n-line-html-demo.png",
30+
"alt": "Preview PNG"
31+
}
32+
],
33+
34+
"metadata": [
35+
{
36+
"key": "Product",
37+
"value": "Power Apps"
38+
},
39+
{
40+
"key": "Type",
41+
"value": "Snippet"
42+
}
43+
],
44+
"authors": [
45+
{
46+
"gitHubAccount": "jan-chlebek",
47+
"name": "Jan Chlebek",
48+
"pictureUrl": "https://github.com/jan-chlebek.png"
49+
}
50+
]
51+
}
52+
]

0 commit comments

Comments
 (0)